﻿<!--
    Copyright © Microsoft Corporation.  All Rights Reserved.
    This code released under the terms of the 
    Microsoft Public License (MS-PL, http://opensource.org/licenses/ms-pl.html.)

    WPF version - PLEASE DO NOT UPDATE THIS FILE DIRECTLY.
    Update the Silverlight version and re-concile the changes by hand.
-->

<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:local="clr-namespace:Microsoft.Expression.Prototyping.Mockups"
	xmlns:System="clr-namespace:System;assembly=mscorlib"
	xmlns:controls="clr-namespace:System.Windows.Controls;assembly=PresentationFramework"
	xmlns:Primitives="clr-namespace:System.Windows.Controls.Primitives;assembly=PresentationFramework"
	xmlns:ps="clr-namespace:Microsoft.Expression.Prototyping.SketchControls;assembly=Microsoft.Expression.Prototyping.SketchControls,Version=4.0.0.0"
	mc:Ignorable="d"
	>

	<local:ContentToVisibility x:Key="ContentToVisibility"/>
	<local:BoolToVisibilityCollapsedConverter x:Key="BoolToVisibilityCollapsedConverter"/>
	<local:CursorToIconImageConverter x:Key="CursorToIconImageConverter"/>
	<local:OverlayToIconImageConverter x:Key="OverlayToIconImageConverter"/>
	
	<SolidColorBrush x:Key="WindowBackground-Mockup" Color="#FFCCCCCC"/>
	<SolidColorBrush x:Key="InsetBarBackground-Mockup" Color="#FFEFEFEF"/>
	<SolidColorBrush x:Key="ButtonsSectionBackground-Mockup" Color="#FFF0F0F0"/>
	<SolidColorBrush x:Key="DeleteBrush-Mockup" Color="Red"/>
	<SolidColorBrush x:Key="TextLightForeground" Color="#FF8B8B8B"/>
	<SolidColorBrush x:Key="DivisionBorderBrush-Sketch" Color="#FFD2D2D2"/>
	<Thickness x:Key="MarginNormalALL">8</Thickness>
	<Thickness x:Key="MarginSmallALL">4</Thickness>
	<System:Double x:Key="DisabledOpacity">0.6</System:Double>
	<Thickness x:Key="MarginNormalROW">2,4</Thickness>
	<Thickness x:Key="MarginStackHorizontal">2,4</Thickness>
	<Thickness x:Key="ButtonMockupPadding">3</Thickness>
	<Style x:Key="ACPContentPresenter" TargetType="ContentPresenter">
		<Setter Property="MinWidth" Value="8"/>
		<Setter Property="MinHeight" Value="8"/>
	</Style>
	<Style x:Key="Sizer" TargetType="Rectangle">
		<Setter Property="Fill" Value="Lime"/>
		<Setter Property="IsHitTestVisible" Value="False"/>
	</Style>
	<ControlTemplate x:Key="ValidationToolTipTemplate">
		<Grid x:Name="Root" Margin="5,0" Opacity="0" RenderTransformOrigin="0,0">
			<Grid.RenderTransform>
				<TranslateTransform x:Name="xform" X="-25"/>
			</Grid.RenderTransform>
			<VisualStateManager.VisualStateGroups>
				<VisualStateGroup x:Name="OpenStates">
					<VisualStateGroup.Transitions>
						<VisualTransition GeneratedDuration="0"/>
						<VisualTransition GeneratedDuration="0:0:0.2" To="Open">
							<Storyboard>
								<DoubleAnimation Duration="0:0:0.2" To="0" Storyboard.TargetProperty="X" Storyboard.TargetName="xform">
									<DoubleAnimation.EasingFunction>
										<BackEase Amplitude=".3" EasingMode="EaseOut"/>
									</DoubleAnimation.EasingFunction>
								</DoubleAnimation>
								<DoubleAnimation Duration="0:0:0.2" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Root"/>
							</Storyboard>
						</VisualTransition>
					</VisualStateGroup.Transitions>
					<VisualState x:Name="Closed">
						<Storyboard>
							<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Root"/>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Open">
						<Storyboard>
							<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="X" Storyboard.TargetName="xform"/>
							<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Root"/>
						</Storyboard>
					</VisualState>
				</VisualStateGroup>
			</VisualStateManager.VisualStateGroups>
			<Border Background="#052A2E31" CornerRadius="5" Margin="4,4,-4,-4"/>
			<Border Background="#152A2E31" CornerRadius="4" Margin="3,3,-3,-3"/>
			<Border Background="#252A2E31" CornerRadius="3" Margin="2,2,-2,-2"/>
			<Border Background="#352A2E31" CornerRadius="2" Margin="1,1,-1,-1"/>
			<Border Background="#FFDC000C" CornerRadius="2"/>
			<Border CornerRadius="2">
				<TextBlock Foreground="White" MaxWidth="250" Margin="8,4,8,4" TextWrapping="Wrap" Text="{Binding (Validation.Errors)[0].ErrorContent}" UseLayoutRounding="false"/>
			</Border>
		</Grid>
	</ControlTemplate>
	<ItemsPanelTemplate x:Key="WrapItemsPanel">
		<local:MiniWrapPanel/>
	</ItemsPanelTemplate>

	<Style x:Key="ScrollViewer-Sketch3" TargetType="ScrollViewer">
		<Setter Property="HorizontalContentAlignment" Value="Left"/>
		<Setter Property="VerticalContentAlignment" Value="Top"/>
		<Setter Property="VerticalScrollBarVisibility" Value="Visible"/>
		<Setter Property="Padding" Value="4"/>
		<Setter Property="BorderThickness" Value="1"/>
		<Setter Property="BorderBrush">
			<Setter.Value>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
					<GradientStop Color="#FFA3AEB9" Offset="0"/>
					<GradientStop Color="#FF8399A9" Offset="0.375"/>
					<GradientStop Color="#FF718597" Offset="0.375"/>
					<GradientStop Color="#FF617584" Offset="1"/>
				</LinearGradientBrush>
			</Setter.Value>
		</Setter>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="ScrollViewer">
					<Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2">
						<Grid Background="{TemplateBinding Background}">
							<Grid.ColumnDefinitions>
								<ColumnDefinition Width="*"/>
								<ColumnDefinition Width="Auto"/>
							</Grid.ColumnDefinitions>
							<Grid.RowDefinitions>
								<RowDefinition Height="*"/>
								<RowDefinition Height="Auto"/>
							</Grid.RowDefinitions>
							<ScrollContentPresenter x:Name="ScrollContentPresenter" Cursor="{TemplateBinding Cursor}" ContentTemplate="{TemplateBinding ContentTemplate}" Margin="{TemplateBinding Padding}"/>
							<Rectangle Grid.Column="1" Fill="{DynamicResource  BaseBackground-Sketch}" Grid.Row="1"/>
							<ScrollBar x:Name="VerticalScrollBar" Grid.Column="1" IsTabStop="False" Maximum="{TemplateBinding ScrollableHeight}" Margin="0,-1,-1,-1" Minimum="0" Orientation="Vertical" Grid.Row="0" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Value="{TemplateBinding VerticalOffset}" ViewportSize="{TemplateBinding ViewportHeight}" Width="18" Style="{DynamicResource  ScrollBar-Sketch}"/>
							<ScrollBar x:Name="HorizontalScrollBar" Grid.Column="0" Height="18" IsTabStop="False" Maximum="{TemplateBinding ScrollableWidth}" Margin="-1,0,-1,-1" Minimum="0" Orientation="Horizontal" Grid.Row="1" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Value="{TemplateBinding HorizontalOffset}" ViewportSize="{TemplateBinding ViewportWidth}" Style="{DynamicResource  ScrollBar-Sketch}"/>
						</Grid>
					</Border>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="ListBox-Sketch3" TargetType="ListBox">
		<Setter Property="Padding" Value="1"/>
		<Setter Property="Background" Value="#FFFFFFFF"/>
		<Setter Property="Foreground" Value="#FF000000"/>
		<Setter Property="HorizontalContentAlignment" Value="Left"/>
		<Setter Property="VerticalContentAlignment" Value="Top"/>
		<Setter Property="IsTabStop" Value="False"/>
		<Setter Property="BorderThickness" Value="1"/>
		<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/>
		<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
		<Setter Property="BorderBrush">
			<Setter.Value>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
					<GradientStop Color="#FFA3AEB9" Offset="0"/>
					<GradientStop Color="#FF8399A9" Offset="0.375"/>
					<GradientStop Color="#FF718597" Offset="0.375"/>
					<GradientStop Color="#FF617584" Offset="1"/>
				</LinearGradientBrush>
			</Setter.Value>
		</Setter>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="ListBox">
					<Grid>
						<VisualStateManager.VisualStateGroups>
							<VisualStateGroup x:Name="ValidationStates">
								<VisualState x:Name="Valid"/>
								<VisualState x:Name="InvalidUnfocused">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="ValidationErrorElement">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<Visibility>Visible</Visibility>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</VisualState>
								<VisualState x:Name="InvalidFocused">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="ValidationErrorElement">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<Visibility>Visible</Visibility>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="IsOpen" Storyboard.TargetName="validationTooltip">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Boolean>True</System:Boolean>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</VisualState>
							</VisualStateGroup>
						</VisualStateManager.VisualStateGroups>
						<ps:SketchRectangleUC Style="{DynamicResource  Rectangle-Sketch}" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"/>
						<Border BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2" BorderBrush="#7F606060">
							<ScrollViewer x:Name="ScrollViewer" BorderBrush="Transparent" BorderThickness="0" Background="{TemplateBinding Background}" Padding="{TemplateBinding Padding}" Style="{StaticResource ScrollViewer-Sketch3}">
								<ItemsPresenter/>
							</ScrollViewer>
						</Border>
						<Border x:Name="ValidationErrorElement" BorderBrush="#FFDB000C" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2" Visibility="Collapsed">
							<ToolTipService.ToolTip>
								<ToolTip x:Name="validationTooltip" DataContext="{Binding RelativeSource={RelativeSource TemplatedParent}}" Placement="Right" PlacementTarget="{Binding RelativeSource={RelativeSource TemplatedParent}}" Template="{StaticResource ValidationToolTipTemplate}">
									<ToolTip.Triggers>
										<EventTrigger RoutedEvent="Canvas.Loaded">
											<BeginStoryboard>
												<Storyboard>
													<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="IsHitTestVisible" Storyboard.TargetName="validationTooltip">
														<DiscreteObjectKeyFrame KeyTime="0">
															<DiscreteObjectKeyFrame.Value>
																<System:Boolean>true</System:Boolean>
															</DiscreteObjectKeyFrame.Value>
														</DiscreteObjectKeyFrame>
													</ObjectAnimationUsingKeyFrames>
												</Storyboard>
											</BeginStoryboard>
										</EventTrigger>
									</ToolTip.Triggers>
								</ToolTip>
							</ToolTipService.ToolTip>
							<Grid Background="Transparent" HorizontalAlignment="Right" Height="10" Margin="0,-4,-4,0" VerticalAlignment="Top" Width="10">
								<Path Data="M 1,0 L6,0 A 2,2 90 0 1 8,2 L8,7 z" Fill="#FFDC000C" Margin="-1,3,0,0"/>
								<Path Data="M 0,0 L2,0 L 8,6 L8,8" Fill="#ffffff" Margin="-1,3,0,0"/>
							</Grid>
						</Border>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style  TargetType="local:IconMockup">
		<Setter Property="Background" Value="{DynamicResource BaseBackground-Sketch}"/>
		<Setter Property="BorderBrush" Value="{DynamicResource FocusedBorder-Sketch}"/>
		<Setter Property="Foreground" Value="{DynamicResource BaseForeground-Sketch}"/>
		<Setter Property="Padding" Value="0"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="local:IconMockup">
					<Grid d:DesignWidth="100" d:DesignHeight="100">
						<local:IconMockupBase x:Name="IconMockupChrome" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" Foreground="{TemplateBinding Foreground}" FontFamily="{TemplateBinding FontFamily}" FontSize="{TemplateBinding FontSize}" Margin="{TemplateBinding Padding}" ToolTipService.ToolTip="{TemplateBinding IconImage}" />
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style TargetType="local:CursorMockup">
		<Setter Property="Background" Value="{DynamicResource BaseBackground-Sketch}"/>
		<Setter Property="Foreground" Value="#D0FFC000"/>
		<Setter Property="BorderBrush" Value="{DynamicResource FocusedBorder-Sketch}"/>
		<Setter Property="CursorImage" Value="Cursor"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="local:CursorMockup">
					<Grid x:Name="LayoutRoot" d:DesignWidth="100" d:DesignHeight="100">
						<VisualStateManager.VisualStateGroups>
							<VisualStateGroup x:Name="CursorHighlight">
								<VisualState x:Name="SquareHighlight">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="SquareHighlight1">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<Visibility>Visible</Visibility>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</VisualState>
								<VisualState x:Name="NoHighlight"/>
								<VisualState x:Name="CircleHighlight">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="CircleHighlight1">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<Visibility>Visible</Visibility>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</VisualState>
								<VisualState x:Name="SketchyHighlight">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="SketchyHighlight1">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<Visibility>Visible</Visibility>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</VisualState>
								<VisualState x:Name="GlowingHighlight">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="GlowingHighlight1">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<Visibility>Visible</Visibility>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</VisualState>
								<VisualState x:Name="ClickHighlight">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="ClickHighlight1">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<Visibility>Visible</Visibility>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</VisualState>
							</VisualStateGroup>
						</VisualStateManager.VisualStateGroups>
						
						<Grid x:Name="PlacementGrid" UseLayoutRounding="False" RenderTransformOrigin="0.5,0.5">
							<Grid.RowDefinitions>
								<RowDefinition Height="0.2*"/>
								<RowDefinition Height="0.6*"/>
								<RowDefinition Height="0.2*"/>
							</Grid.RowDefinitions>
							<Grid.ColumnDefinitions>
								<ColumnDefinition Width="0.2*"/>
								<ColumnDefinition Width="0.6*"/>
								<ColumnDefinition Width="0.2*"/>
							</Grid.ColumnDefinitions>

							<Grid x:Name="HighlightsGrid" Grid.ColumnSpan="3" Grid.RowSpan="3" >
								<ps:SketchCircleUC x:Name="CircleHighlight1" Style="{DynamicResource  Circle-Sketch}" Background="{TemplateBinding Foreground}" BorderBrush="{x:Null}" Visibility="Collapsed"/>
								<Ellipse x:Name="GlowingHighlight1" Visibility="Collapsed">
									<Ellipse.Fill>
										<RadialGradientBrush>
											<GradientStop Color="Yellow" Offset="0"/>
											<GradientStop Color="#00FFFF00" Offset="1"/>
										</RadialGradientBrush>
									</Ellipse.Fill>
								</Ellipse>
								<Path x:Name="SketchyHighlight1" Data="M3.875,7.75 C10.883269,6.402256 18.27482,3.875 25.375,3.875 C23.050745,5.4245033 19.80821,5.7208948 17.25,7 C15.446404,7.9017982 13.44498,8.7177019 11.75,9.5 C9.2554283,10.65134 6.8805552,11.946667 4.5,13.375 C9.033742,14.886248 15.353512,12.254959 20.25,11.125 C23.80093,10.305554 29.869959,6.4727826 30.625,8.75 C31.380041,11.027218 24.710543,12.722481 21.625,14.125 C19.252632,15.203349 16.257008,15.300569 13.75,16.375 C11.303376,17.423553 10.093801,18.191885 8.625,20.5 C8.2245913,21.129213 7.9194303,21.238735 8,22.125 C8.0533257,22.711578 8.8790903,22.642273 9.875,22.5 C12.264428,22.158653 14.702295,21.390902 17,20.625 C18.467407,20.135864 19.952713,19.849096 21.375,19.375 C22.80233,18.899223 24.094494,18.994915 25.625,19.25 C26.56152,19.406086 25.804087,20.806732 24,22.25 C22.832575,23.183941 21.892504,24.107306 20.5,24.75 C15.963924,26.843573 11.297685,29.155777 6.875,30.75" Stretch="Fill" Stroke="{TemplateBinding Foreground}" StrokeThickness="3" Visibility="Collapsed" Opacity="0.8"/>
								<ps:SketchRectangleUC x:Name="SquareHighlight1" Style="{DynamicResource  Rectangle-Sketch}" BorderBrush="{x:Null}" Background="{TemplateBinding Foreground}" Visibility="Collapsed"/>
								<local:IconMockup x:Name="ClickHighlight1" Foreground="{TemplateBinding Foreground}" IconImage="Click" Visibility="Collapsed"/>
							</Grid>

							<local:IconMockup x:Name="cursorImage"
												Background="{TemplateBinding Background}"
												BorderBrush="{TemplateBinding BorderBrush}"
												Foreground="{TemplateBinding Foreground}"
												Padding="0"
												UseLayoutRounding="False"
												Grid.ColumnSpan="3"
												Grid.RowSpan="3"
												IconImage="{TemplateBinding CursorImage, Converter={StaticResource CursorToIconImageConverter}}"/>
							<local:IconMockup x:Name="cursorOverlay"
												Grid.Column="1"
												Grid.Row="1"
												Padding="0"
												Background="{TemplateBinding Background}"
												BorderBrush="{TemplateBinding BorderBrush}"
												Foreground="{TemplateBinding Foreground}"
												UseLayoutRounding="False"
												IconImage="{TemplateBinding CursorOverlay, Converter={StaticResource OverlayToIconImageConverter}}" />
						</Grid>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style  TargetType="local:BaseMockup">
		<Setter Property="Background" Value="{DynamicResource  BaseBackground-Sketch}"/>
		<Setter Property="BorderBrush" Value="{DynamicResource  BaseBorder-Sketch}"/>
		<Setter Property="Foreground" Value="{DynamicResource  BaseForeground-Sketch}"/>
		<Setter Property="FontFamily" Value="{DynamicResource  FontFamily-Sketch}"/>
		<Setter Property="FontSize" Value="{DynamicResource  SizeDouble-Sketch}"/>
		<Setter Property="FontWeight" Value="{DynamicResource  FontWeight-Sketch}"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="local:BaseMockup">
					<Grid x:Name="grid" d:DesignWidth="165.5" d:DesignHeight="119">
						<Grid.ColumnDefinitions>
							<ColumnDefinition/>
						</Grid.ColumnDefinitions>
						<Grid.RowDefinitions>
							<RowDefinition Height="Auto"/>
							<RowDefinition/>
						</Grid.RowDefinitions>
						<ps:SketchRectangleUC Grid.RowSpan="2" Style="{DynamicResource  Rectangle-Sketch}" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"/>
						<ps:SketchRectangleUC x:Name="Disabled1" Grid.RowSpan="2" Style="{DynamicResource  Rectangle-Sketch}" Background="{DynamicResource  DisabledBackground-Sketch}" BorderBrush="{DynamicResource  DisabledBorder-Sketch}" Visibility="Collapsed"/>
						<ContentPresenter x:Name="LabelContentPresenter" Margin="{StaticResource MarginNormalALL}" Content="{TemplateBinding TitleContent}"/>
						<ContentPresenter x:Name="ContentPresenter" Grid.RowSpan="1" Grid.Row="1" Margin="{StaticResource MarginNormalALL}" Content="{TemplateBinding Content}"/>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<ControlTemplate x:Key="IconButtonTemplate" TargetType="local:ButtonWithIconMockup">
		<Grid d:DesignWidth="100" d:DesignHeight="100">
			<VisualStateManager.VisualStateGroups>
				<VisualStateGroup x:Name="IconPlacement">
					<VisualState x:Name="Fill">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Viewbox.Stretch)" Storyboard.TargetName="viewbox">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Stretch>Uniform</Stretch>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="ContentSection">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Thickness>0</Thickness>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Width)" Storyboard.TargetName="contentColumnDefinition2">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<GridLength>*</GridLength>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Height)" Storyboard.TargetName="contentRowDefinition2">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<GridLength>*</GridLength>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Center"/>
					<VisualState x:Name="Top">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="IconHolder">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<System:Int32>0</System:Int32>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Right">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Column)" Storyboard.TargetName="IconHolder">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<System:Int32>2</System:Int32>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Bottom">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="IconHolder">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<System:Int32>2</System:Int32>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Left">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Column)" Storyboard.TargetName="IconHolder">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<System:Int32>0</System:Int32>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="NoIcon">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="IconHolder">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Collapsed</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
				</VisualStateGroup>
				<VisualStateGroup x:Name="CommonStates">
					<VisualState x:Name="Normal"/>
					<VisualState x:Name="Pressed">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Pressed1">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Disabled">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Disabled1">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ContentHolder">
								<EasingDoubleKeyFrame KeyTime="0" Value="0.6"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="iconMockup">
								<EasingDoubleKeyFrame KeyTime="0" Value="0.6"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="MouseOver">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Over1">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
				</VisualStateGroup>
				<VisualStateGroup x:Name="FocusStates">
					<VisualState x:Name="Unfocused"/>
					<VisualState x:Name="Focused">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Focus1">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
				</VisualStateGroup>
			</VisualStateManager.VisualStateGroups>
			<ps:SketchRectangleUC x:Name="Normal1" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" Foreground="{TemplateBinding Foreground}" Grid.ColumnSpan="1" Grid.RowSpan="1"/>
			<ps:SketchRectangleUC x:Name="Over1" Background="{DynamicResource  MouseOverBackground-Sketch}" BorderBrush="{DynamicResource  BaseBorder-Sketch}" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" Visibility="Collapsed" Grid.ColumnSpan="1" Grid.RowSpan="1"/>
			<ps:SketchRectangleUC x:Name="Pressed1" Background="{DynamicResource  PressedBackground-Sketch}" BorderBrush="{DynamicResource  BaseBorder-Sketch}" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" Visibility="Collapsed" Grid.ColumnSpan="1" Grid.RowSpan="1"/>
			<ps:SketchRectangleUC x:Name="Focus1" Background="{x:Null}" BorderBrush="{DynamicResource  FocusedBorder-Sketch}" StrokeWidth="2" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" Visibility="Collapsed" Grid.ColumnSpan="1" Grid.RowSpan="1"/>
			<ps:SketchRectangleUC x:Name="Disabled1" Background="{DynamicResource  BaseBackground-Sketch}" Visibility="Collapsed" BorderBrush="{DynamicResource  DisabledBorder-Sketch}" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" Grid.ColumnSpan="1" Grid.RowSpan="1"/>
			<Grid x:Name="ContentSection" Cursor="Hand" Margin="4" HorizontalAlignment="Center" VerticalAlignment="Center">
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="Auto"/>
					<ColumnDefinition x:Name="contentColumnDefinition2" Width="Auto"/>
					<ColumnDefinition Width="Auto"/>
				</Grid.ColumnDefinitions>
				<Grid.RowDefinitions>
					<RowDefinition Height="Auto" />
					<RowDefinition x:Name="contentRowDefinition2" Height="Auto"/>
					<RowDefinition Height="Auto" />
				</Grid.RowDefinitions>
				<Grid x:Name="IconHolder" Grid.Row="1" Grid.Column="1" Margin="3,1,3,1">
					<Viewbox x:Name="viewbox" Stretch="None" Margin="1">
												<local:IconMockup x:Name="iconMockup" IconImage="{TemplateBinding IconImage}" Width="{TemplateBinding IconSize}" Height="{TemplateBinding IconSize}"  Foreground="{TemplateBinding IconFill}" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding IconStroke}"/>
										</Viewbox>
				</Grid>
				<Grid x:Name="ContentHolder" Grid.Column="1" Grid.Row="1" Margin="3,1,3,1" Visibility="{Binding Content, Converter={StaticResource ContentToVisibility}, ElementName=contentPresenter}">
					<ContentPresenter x:Name="contentPresenter" HorizontalAlignment="Center" VerticalAlignment="Center" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" Grid.Row="1" Grid.Column="1" />
				</Grid>
			</Grid>
		</Grid>
	</ControlTemplate>

	<Style  TargetType="local:ButtonWithIconMockup">
		<Setter Property="Background" Value="{DynamicResource  BaseBackground-Sketch}"/>
		<Setter Property="BorderBrush" Value="{DynamicResource  BaseBorder-Sketch}"/>
		<Setter Property="Foreground" Value="{DynamicResource  BaseForeground-Sketch}"/>
		<Setter Property="FontFamily" Value="{DynamicResource  FontFamily-Sketch}"/>
		<Setter Property="FontSize" Value="{DynamicResource  SizeDouble-Sketch}"/>
		<Setter Property="FontWeight" Value="{DynamicResource  FontWeight-Sketch}"/>
		<Setter Property="Padding" Value="{StaticResource ButtonMockupPadding}"/>
		<Setter Property="IconFill" Value="{DynamicResource  BaseForeground-Sketch}"/>
		<Setter Property="IconStroke" Value="{DynamicResource  FocusedBorder-Sketch}"/>
		<Setter Property="Template" Value="{StaticResource IconButtonTemplate}" />
	</Style>

	<ControlTemplate x:Key="IconRadioButtonTemplate" TargetType="local:OptionButtonWithIconMockup" >
		<Grid>
			<VisualStateManager.VisualStateGroups>
				<VisualStateGroup x:Name="CommonStates">
					<VisualStateGroup.Transitions>
						<VisualTransition From="Pressed" GeneratedDuration="00:00:00" To="MouseOver"/>
						<VisualTransition GeneratedDuration="00:00:00" To="Pressed"/>
					</VisualStateGroup.Transitions>
					<VisualState x:Name="Normal"/>
					<VisualState x:Name="MouseOver">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Normal1" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Collapsed</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Over" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Pressed">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Normal1" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Collapsed</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Pressed1" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Disabled">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Disabled1" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Normal1" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Collapsed</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ContentHolder" Storyboard.TargetProperty="(UIElement.Opacity)">
								<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.6"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="iconMockup">
								<EasingDoubleKeyFrame KeyTime="0" Value="0.6"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
				</VisualStateGroup>
				<VisualStateGroup x:Name="FocusStates">
					<VisualState x:Name="Focused">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Focus" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Unfocused"/>
				</VisualStateGroup>
				<VisualStateGroup x:Name="CheckStates">
					<VisualState x:Name="Checked">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Checked1">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Unchecked"/>
					<VisualState x:Name="Indeterminate"/>
				</VisualStateGroup>
				<VisualStateGroup x:Name="IconPlacement">
					<VisualState x:Name="Fill">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Viewbox.Stretch)" Storyboard.TargetName="viewbox">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Stretch>Uniform</Stretch>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="ContentSection">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Thickness>0</Thickness>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Width)" Storyboard.TargetName="contentColumnDefinition2">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<GridLength>*</GridLength>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Height)" Storyboard.TargetName="contentRowDefinition2">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<GridLength>*</GridLength>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Center"/>
					<VisualState x:Name="Top">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="IconHolder">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<System:Int32>0</System:Int32>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Right">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Column)" Storyboard.TargetName="IconHolder">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<System:Int32>2</System:Int32>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Bottom">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="IconHolder">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<System:Int32>2</System:Int32>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Left">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Column)" Storyboard.TargetName="IconHolder">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<System:Int32>0</System:Int32>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="NoIcon">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="IconHolder">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Collapsed</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
				</VisualStateGroup>
			</VisualStateManager.VisualStateGroups>
			<ps:SketchRectangleUC x:Name="Normal1" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" Foreground="{TemplateBinding Foreground}" Grid.RowSpan="1" Grid.ColumnSpan="1"/>
			<ps:SketchRectangleUC x:Name="Checked1" Background="{DynamicResource  SelectedBackground-Sketch}" BorderBrush="{DynamicResource  BaseBorder-Sketch}" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" Visibility="Collapsed" Grid.RowSpan="1" Grid.ColumnSpan="1"/>
			<ps:SketchRectangleUC x:Name="Over" Background="{DynamicResource  MouseOverBackground-Sketch}" BorderBrush="{DynamicResource  BaseBorder-Sketch}" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" Visibility="Collapsed" Grid.RowSpan="1" Grid.ColumnSpan="1"/>
			<ps:SketchRectangleUC x:Name="Pressed1" Background="{DynamicResource  PressedBackground-Sketch}" BorderBrush="{DynamicResource  BaseBorder-Sketch}" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" Visibility="Collapsed" Grid.RowSpan="1" Grid.ColumnSpan="1"/>
			<ps:SketchRectangleUC x:Name="Focus" Background="{x:Null}" BorderBrush="{DynamicResource  FocusedBorder-Sketch}" StrokeWidth="2" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" Visibility="Collapsed" Grid.RowSpan="1" Grid.ColumnSpan="1"/>
			<ps:SketchRectangleUC x:Name="Disabled1" Background="{DynamicResource  BaseBackground-Sketch}" Visibility="Collapsed" BorderBrush="{DynamicResource  DisabledBorder-Sketch}" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" Grid.RowSpan="1" Grid.ColumnSpan="1"/>
			<Grid x:Name="ContentSection" Cursor="Hand" Margin="4" HorizontalAlignment="Center" VerticalAlignment="Center">
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="Auto" />
					<ColumnDefinition  x:Name="contentColumnDefinition2" Width="Auto"/>
					<ColumnDefinition Width="Auto"/>
				</Grid.ColumnDefinitions>
				<Grid.RowDefinitions>
					<RowDefinition Height="Auto"/>
					<RowDefinition x:Name="contentRowDefinition2" Height="Auto"/>
					<RowDefinition Height="Auto" />
				</Grid.RowDefinitions>
				<Grid x:Name="IconHolder" Grid.Row="1" Grid.Column="1" Margin="3,1,3,1">
					<Viewbox x:Name="viewbox" Stretch="None" Margin="1">
						<local:IconMockup x:Name="iconMockup" IconImage="{TemplateBinding IconImage}" Width="{TemplateBinding IconSize}" Height="{TemplateBinding IconSize}"  Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding IconStroke}" Foreground="{TemplateBinding IconFill}"/>
					</Viewbox>
				</Grid>
				<Grid x:Name="ContentHolder" Grid.Column="1" Grid.Row="1" Margin="3,1,3,1" Visibility="{Binding Content, Converter={StaticResource ContentToVisibility}, ElementName=contentPresenter}">
					<ContentPresenter x:Name="contentPresenter"  HorizontalAlignment="Center" VerticalAlignment="Center" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}"/>
				</Grid>
			</Grid>
		</Grid>
	</ControlTemplate>

	<Style  TargetType="local:OptionButtonWithIconMockup">
		<Setter Property="Background" Value="{DynamicResource  BaseBackground-Sketch}"/>
		<Setter Property="Foreground" Value="{DynamicResource  BaseForeground-Sketch}"/>
		<Setter Property="BorderBrush" Value="{DynamicResource  BaseBorder-Sketch}"/>
		<Setter Property="FontFamily" Value="{DynamicResource  FontFamily-Sketch}"/>
		<Setter Property="FontWeight" Value="{DynamicResource  FontWeight-Sketch}"/>
		<Setter Property="FontSize" Value="{DynamicResource  SizeDouble-Sketch}"/>
		<Setter Property="IconFill" Value="{DynamicResource  BaseForeground-Sketch}"/>
		<Setter Property="IconStroke" Value="{DynamicResource  FocusedBorder-Sketch}"/>
		<Setter Property="Padding" Value="{StaticResource ButtonMockupPadding}"/>
		<Setter Property="Template" Value="{StaticResource IconRadioButtonTemplate}" />
	</Style>


	<Style  x:Key="IconRadioButtonClear" TargetType="local:OptionButtonWithIconMockup">
		<Setter Property="Background" Value="{x:Null}"/>
		<Setter Property="Foreground" Value="{DynamicResource  BaseForeground-Sketch}"/>
		<Setter Property="BorderBrush" Value="{x:Null}"/>
		<Setter Property="FontFamily" Value="{DynamicResource  FontFamily-Sketch}"/>
		<Setter Property="FontWeight" Value="{DynamicResource  FontWeight-Sketch}"/>
		<Setter Property="FontSize" Value="{DynamicResource  SizeDouble-Sketch}"/>
		<Setter Property="IconFill" Value="{DynamicResource  BaseForeground-Sketch}"/>
		<Setter Property="IconStroke" Value="{DynamicResource  FocusedBorder-Sketch}"/>
		<Setter Property="Padding" Value="{StaticResource ButtonMockupPadding}"/>
		<Setter Property="HorizontalContentAlignment" Value="Left"/>
		<Setter Property="Template" Value="{StaticResource IconRadioButtonTemplate}" />
	</Style>

	<ControlTemplate x:Key="IconToggleButtonTemplate" TargetType="local:ToggleButtonWithIconMockup">
		<Grid>
			<VisualStateManager.VisualStateGroups>
				<VisualStateGroup x:Name="CommonStates">
					<VisualStateGroup.Transitions>
						<VisualTransition From="Pressed" GeneratedDuration="00:00:00" To="MouseOver"/>
						<VisualTransition GeneratedDuration="00:00:00" To="Pressed"/>
					</VisualStateGroup.Transitions>
					<VisualState x:Name="Normal"/>
					<VisualState x:Name="MouseOver">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Normal1" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Collapsed</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Over" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Pressed">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Normal1" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Collapsed</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Pressed1" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Disabled">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Disabled1" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Normal1" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Collapsed</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ContentHolder" Storyboard.TargetProperty="(UIElement.Opacity)">
								<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.6"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="iconMockup">
								<EasingDoubleKeyFrame KeyTime="0" Value="0.6"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
				</VisualStateGroup>
				<VisualStateGroup x:Name="FocusStates">
					<VisualState x:Name="Focused">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Focus" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Unfocused"/>
				</VisualStateGroup>
				<VisualStateGroup x:Name="CheckStates">
					<VisualState x:Name="Checked">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Checked1">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Unchecked"/>
					<VisualState x:Name="Indeterminate"/>
				</VisualStateGroup>
				<VisualStateGroup x:Name="IconPlacement">
					<VisualState x:Name="Fill">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Viewbox.Stretch)" Storyboard.TargetName="viewbox">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Stretch>Uniform</Stretch>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="ContentSection">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Thickness>0</Thickness>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Width)" Storyboard.TargetName="contentColumnDefinition2">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<GridLength>*</GridLength>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Height)" Storyboard.TargetName="contentRowDefinition2">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<GridLength>*</GridLength>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Center"/>
					<VisualState x:Name="Top">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="IconHolder">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<System:Int32>0</System:Int32>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Right">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Column)" Storyboard.TargetName="IconHolder">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<System:Int32>2</System:Int32>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Bottom">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="IconHolder">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<System:Int32>2</System:Int32>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="Left">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Column)" Storyboard.TargetName="IconHolder">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<System:Int32>0</System:Int32>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
					<VisualState x:Name="NoIcon">
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="IconHolder">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Collapsed</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</VisualState>
				</VisualStateGroup>
			</VisualStateManager.VisualStateGroups>
			<ps:SketchRectangleUC x:Name="Normal1" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" Foreground="{TemplateBinding Foreground}" Grid.RowSpan="1" Grid.ColumnSpan="1"/>
			<ps:SketchRectangleUC x:Name="Checked1" Background="{DynamicResource  SelectedBackground-Sketch}" BorderBrush="{DynamicResource  BaseBorder-Sketch}" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" Visibility="Collapsed" Grid.RowSpan="1" Grid.ColumnSpan="1"/>
			<ps:SketchRectangleUC x:Name="Over" Background="{DynamicResource  MouseOverBackground-Sketch}" BorderBrush="{DynamicResource  BaseBorder-Sketch}" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" Visibility="Collapsed" Grid.RowSpan="1" Grid.ColumnSpan="1"/>
			<ps:SketchRectangleUC x:Name="Pressed1" Background="{DynamicResource  PressedBackground-Sketch}" BorderBrush="{DynamicResource  BaseBorder-Sketch}" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" Visibility="Collapsed" Grid.RowSpan="1" Grid.ColumnSpan="1"/>
			<ps:SketchRectangleUC x:Name="Focus" Background="{x:Null}" BorderBrush="{DynamicResource  FocusedBorder-Sketch}" StrokeWidth="2" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" Visibility="Collapsed" Grid.RowSpan="1" Grid.ColumnSpan="1"/>
			<ps:SketchRectangleUC x:Name="Disabled1" Background="{DynamicResource  BaseBackground-Sketch}" Visibility="Collapsed" BorderBrush="{DynamicResource  DisabledBorder-Sketch}" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" Grid.RowSpan="1" Grid.ColumnSpan="1"/>
			<Grid x:Name="ContentSection" Cursor="Hand" Margin="4" HorizontalAlignment="Center" VerticalAlignment="Center">
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="Auto"/>
					<ColumnDefinition x:Name="contentColumnDefinition2" Width="Auto"/>
					<ColumnDefinition Width="Auto"/>
				</Grid.ColumnDefinitions>
				<Grid.RowDefinitions>
					<RowDefinition Height="Auto"/>
					<RowDefinition x:Name="contentRowDefinition2" Height="Auto"/>
					<RowDefinition Height="Auto"/>
				</Grid.RowDefinitions>
				<Grid x:Name="IconHolder" Grid.Row="1" Grid.Column="1" Margin="3,1,3,1">
					<Viewbox x:Name="viewbox" Stretch="None" Margin="1">
						<local:IconMockup x:Name="iconMockup" Foreground="{TemplateBinding IconFill}" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding IconStroke}" Width="{TemplateBinding IconSize}" Height="{TemplateBinding IconSize}" IconImage="{TemplateBinding IconImage}" />
					</Viewbox>
				</Grid>
				<Grid x:Name="ContentHolder" Grid.Column="1" Grid.Row="1" Margin="3,1,3,1" Visibility="{Binding Content, Converter={StaticResource ContentToVisibility}, ElementName=contentPresenter}">
					<ContentPresenter x:Name="contentPresenter"  HorizontalAlignment="Center" VerticalAlignment="Center" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" Grid.Row="1" Grid.Column="1"/>
				</Grid>
			</Grid>
		</Grid>
	</ControlTemplate>

	<Style  TargetType="local:ToggleButtonWithIconMockup">
		<Setter Property="Background" Value="{DynamicResource  BaseBackground-Sketch}"/>
		<Setter Property="Foreground" Value="{DynamicResource  BaseForeground-Sketch}"/>
		<Setter Property="BorderBrush" Value="{DynamicResource  BaseBorder-Sketch}"/>
		<Setter Property="FontFamily" Value="{DynamicResource  FontFamily-Sketch}"/>
		<Setter Property="FontWeight" Value="{DynamicResource  FontWeight-Sketch}"/>
		<Setter Property="FontSize" Value="{DynamicResource  SizeDouble-Sketch}"/>
		<Setter Property="IconFill" Value="{DynamicResource  BaseForeground-Sketch}"/>
		<Setter Property="IconStroke" Value="{DynamicResource  FocusedBorder-Sketch}"/>
		<Setter Property="Padding" Value="{StaticResource ButtonMockupPadding}"/>
		<Setter Property="Template" Value="{StaticResource IconToggleButtonTemplate}" />
	</Style>

	<Style x:Key="IconToggleButtonClear" TargetType="local:ToggleButtonWithIconMockup">
		<Setter Property="Background" Value="{x:Null}"/>
		<Setter Property="Foreground" Value="{DynamicResource  BaseForeground-Sketch}"/>
		<Setter Property="BorderBrush" Value="{x:Null}"/>
		<Setter Property="FontFamily" Value="{DynamicResource  FontFamily-Sketch}"/>
		<Setter Property="FontWeight" Value="{DynamicResource  FontWeight-Sketch}"/>
		<Setter Property="FontSize" Value="{DynamicResource  SizeDouble-Sketch}"/>
		<Setter Property="IconFill" Value="{DynamicResource  BaseForeground-Sketch}"/>
		<Setter Property="IconStroke" Value="{DynamicResource  FocusedBorder-Sketch}"/>
		<Setter Property="Padding" Value="{StaticResource ButtonMockupPadding}"/>
		<Setter Property="Template" Value="{StaticResource IconToggleButtonTemplate}" />
		<Setter Property="HorizontalContentAlignment" Value="Left"/>
	</Style>

	<Style  TargetType="local:WindowMockup">
		<Setter Property="Background" Value="{DynamicResource  BaseBackground-Sketch}"/>
		<Setter Property="BorderBrush" Value="{DynamicResource  BaseBorder-Sketch}"/>
		<Setter Property="Foreground" Value="{DynamicResource  BaseForeground-Sketch}"/>
		<Setter Property="FontFamily" Value="{DynamicResource  FontFamily-Sketch}"/>
		<Setter Property="FontSize" Value="{DynamicResource  SizeDouble-Sketch}"/>
		<Setter Property="FontWeight" Value="{DynamicResource  FontWeight-Sketch}"/>
		<Setter Property="WindowBorderThickness" Value="{StaticResource MarginSmallALL}"/>
		<Setter Property="Padding" Value="{StaticResource MarginSmallALL}"/>
		<Setter Property="WindowBorderFillBrush" Value="{StaticResource WindowBackground-Mockup}"/>
		<Setter Property="ShowStatusBar" Value="Visible"/>
		<Setter Property="ShowLowerBar" Value="Collapsed"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="local:WindowMockup">
					<Grid x:Name="LayoutRoot" d:DesignWidth="400" d:DesignHeight="300">
						<Grid.RowDefinitions>
							<RowDefinition Height="Auto"/>
							<RowDefinition/>
						</Grid.RowDefinitions>
						<ps:SketchRectangleUC x:Name="OuterBorder" BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding WindowBorderFillBrush}" Grid.RowSpan="2" Style="{DynamicResource  Rectangle-Sketch}"/>
						<Grid x:Name="AppHolder" Grid.Row="1">
							<Grid.ColumnDefinitions>
								<ColumnDefinition Width="Auto"/>
								<ColumnDefinition/>
								<ColumnDefinition Width="Auto"/>
							</Grid.ColumnDefinitions>
							<Grid.RowDefinitions>
								<RowDefinition Height="Auto"/>
								<RowDefinition/>
								<RowDefinition Height="Auto"/>
							</Grid.RowDefinitions>
							<Rectangle x:Name="SizerBottom"  Height="{Binding Margin.Bottom, ElementName=MarginSizerRef}" Grid.Row="2"  Grid.Column="1" Style="{StaticResource Sizer}" Opacity="0"/>
							<Rectangle x:Name="SizerRight" Grid.Row="1"  Grid.Column="2" Width="{Binding Margin.Right, ElementName=MarginSizerRef}" Style="{StaticResource Sizer}" Opacity="0"/>
							<Rectangle x:Name="SizerLeft"  Grid.Row="1"  Width="{Binding Margin.Left, ElementName=MarginSizerRef}" Style="{StaticResource Sizer}" Opacity="0"/>
							<Grid x:Name="MainSection" Background="{TemplateBinding Background}" Grid.Row="1" Grid.RowSpan="1" Grid.ColumnSpan="1" Grid.Column="1">
								<Grid.RowDefinitions>
									<RowDefinition x:Name="mainRow0" Height="Auto"/>
									<RowDefinition x:Name="mainRow1" />
									<RowDefinition  x:Name="mainRow2" Height="Auto"/>
									<RowDefinition  x:Name="mainRow3" Height="Auto"/>
								</Grid.RowDefinitions>
								<Grid x:Name="MenuBarHolder" Visibility="{TemplateBinding ShowMenuBar}" Background="{StaticResource InsetBarBackground-Mockup}">
									<ContentPresenter Content="{TemplateBinding MenuBarContent}"/>
								</Grid>
								<Grid x:Name="ContentSection" Grid.Row="1">
									<ContentPresenter x:Name="MainContentPresenter" Content="{TemplateBinding Content}"/>
								</Grid>
								<Grid x:Name="LowerBarSection" Grid.Row="2" Visibility="{TemplateBinding ShowLowerBar}">
									<ContentPresenter Content="{TemplateBinding LowerBarContent}"/>
								</Grid>
								<Grid x:Name="StatusBarSection" Background="{StaticResource InsetBarBackground-Mockup}" Grid.Row="3" Visibility="{TemplateBinding ShowStatusBar}" Margin="0">
									<ps:SketchRectangleUC Style="{DynamicResource  Rectangle-Sketch}" VerticalAlignment="Top" StrokeWidth="1" Background="{x:Null}" BorderBrush="{DynamicResource  DivisionBorderBrush-Sketch}"/>
									<ContentPresenter Content="{TemplateBinding StatusContent}" Margin="4,0"/>
								</Grid>
								<ps:SketchRectangleUC x:Name="ContentBorder" BorderBrush="{TemplateBinding BorderBrush}" Background="{x:Null}" Foreground="{TemplateBinding Foreground}" IsHitTestVisible="False" Grid.RowSpan="4" Style="{DynamicResource  Rectangle-Sketch}"/>
							</Grid>
						</Grid>
						<Rectangle x:Name="MarginSizerRef" Margin="{TemplateBinding WindowBorderThickness}" Grid.Row="1" Opacity="0" d:IsLocked="True"/>
						<Grid x:Name="TitleBarSection" Visibility="{TemplateBinding ShowTitleBar}" d:LayoutOverrides="GridBox">
							<Grid.ColumnDefinitions>
								<ColumnDefinition/>
								<ColumnDefinition Width="Auto"/>
							</Grid.ColumnDefinitions>
							<Grid.RowDefinitions>
								<RowDefinition/>
								<RowDefinition Height="Auto"/>
							</Grid.RowDefinitions>
							<StackPanel 	Margin="0,0,4,0" Grid.Column="1" VerticalAlignment="Top" x:Name="WindowControls" Orientation="Horizontal">
								<local:ButtonWithIconMockup Content="" Margin="0,0,-2,4" x:Name="MinimizeButton"  Visibility="{TemplateBinding ShowMinimizeButton}" ToolTipService.ToolTip="Minimize" IconImage="WindowMinimize" IconSize="11" IconPlacement="Center" Padding="1" VerticalAlignment="Top"/>
								<local:ToggleButtonWithIconMockup Content="" Margin="0,0,-2,4" x:Name="MaximizeButton"  Visibility="{TemplateBinding ShowMaximizeButton}"  ToolTipService.ToolTip="Maximize" IconImage="WindowMaximize" IconSize="11" IconPlacement="Center" Padding="1" VerticalAlignment="Top" />
								<local:ToggleButtonWithIconMockup Content="" Margin="0,0,-2,4" x:Name="FullscreenButton"  Visibility="{TemplateBinding ShowFullScreenButton}" ToolTipService.ToolTip="Fullscreen" IconImage="WindowFullScreen" IconSize="11" IconPlacement="Center" Padding="1" VerticalAlignment="Top" />
								<local:ButtonWithIconMockup Content="" Margin="0,0,0,4" x:Name="CloseButton" Visibility="{TemplateBinding ShowCloseButton}" Width="40"  ToolTipService.ToolTip="Close" IconImage="WindowClose" IconPlacement="Center" IconSize="11" Padding="1" VerticalAlignment="Top"/>
							</StackPanel>
							<Grid 	x:Name="TitleTextHolder" Visibility="{TemplateBinding ShowTitleText}">
								<ContentPresenter Content="{TemplateBinding TitleContent}" x:Name="LabelContentPresenter" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="2,0,0,0"/>
							</Grid>
							<Grid x:Name="ContentPathSection" Grid.Row="1" Grid.ColumnSpan="2" Visibility="{TemplateBinding ShowPathControls}">
								<ContentPresenter Content="{TemplateBinding NavBarContent}"/>
							</Grid>
						</Grid>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style  TargetType="local:DialogMockup">
		<Setter Property="Background" Value="{DynamicResource  BaseBackground-Sketch}"/>
		<Setter Property="BorderBrush" Value="{DynamicResource  BaseBorder-Sketch}"/>
		<Setter Property="Foreground" Value="{DynamicResource  BaseForeground-Sketch}"/>
		<Setter Property="FontFamily" Value="{DynamicResource  FontFamily-Sketch}"/>
		<Setter Property="FontSize" Value="{DynamicResource  SizeDouble-Sketch}"/>
		<Setter Property="FontWeight" Value="{DynamicResource  FontWeight-Sketch}"/>
		<Setter Property="WindowBorderFillBrush" Value="{StaticResource WindowBackground-Mockup}"/>
		<Setter Property="ShowStatusBar" Value="Collapsed"/>
		<Setter Property="ShowMaximizeButton" Value="Collapsed"/>
		<Setter Property="ShowMinimizeButton" Value="Collapsed"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="local:DialogMockup">
					<Grid x:Name="LayoutRoot" d:DesignWidth="500" d:DesignHeight="400">
						<local:WindowMockup TitleContent="{TemplateBinding TitleContent}" StatusContent="{TemplateBinding StatusContent}" MenuBarContent="{TemplateBinding MenuBarContent}" ShowLowerBar="{TemplateBinding ShowLowerBar}" ShowMenuBar="{TemplateBinding ShowMenuBar}" ShowCloseButton="{TemplateBinding ShowCloseButton}" ShowFullScreenButton="{TemplateBinding ShowFullScreenButton}" ShowMaximizeButton="{TemplateBinding ShowMaximizeButton}" ShowMinimizeButton="{TemplateBinding ShowMinimizeButton}" ShowPathControls="{TemplateBinding ShowPathControls}" ShowStatusBar="{TemplateBinding ShowStatusBar}" ShowTitleBar="{TemplateBinding ShowTitleBar}" ShowTitleText="{TemplateBinding ShowTitleText}" WindowBorderThickness="{TemplateBinding WindowBorderThickness}" FontFamily="{TemplateBinding FontFamily}" FontSize="{TemplateBinding FontSize}" FontWeight="{TemplateBinding FontWeight}" LowerBarContent="{TemplateBinding LowerBarContent}" NavBarContent="{TemplateBinding NavBarContent}" WindowBorderFillBrush="{TemplateBinding WindowBorderFillBrush}" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" Foreground="{TemplateBinding Foreground}">
							<Grid>
								<Grid.ColumnDefinitions>
									<ColumnDefinition Width="Auto"/>
									<ColumnDefinition/>
								</Grid.ColumnDefinitions>
								<Grid.RowDefinitions>
									<RowDefinition/>
									<RowDefinition Height="Auto"/>
									<RowDefinition Height="Auto"/>
								</Grid.RowDefinitions>
								<StackPanel Grid.Column="1" Orientation="Vertical" Margin="0,8,15,0">
									<ContentPresenter x:Name="QuestionContentPresenter" Content="{TemplateBinding DialogQuestionContent}" HorizontalAlignment="Left" VerticalAlignment="Top" />
									<ContentPresenter x:Name="ExplanationContentPresenter" Content="{TemplateBinding DialogExplanationContent}" HorizontalAlignment="Left" VerticalAlignment="Top" />
								</StackPanel>
								<ContentPresenter x:Name="MainContentPresenter" Content="{TemplateBinding Content}" Grid.Row="1" Grid.Column="1"/>
								<Grid Grid.Row="2" Background="{StaticResource ButtonsSectionBackground-Mockup}" Grid.ColumnSpan="2">
									<local:UniformGrid Rows="1" d:LayoutOverrides="Width, Height" HorizontalAlignment="Right" Margin="0,0,4,0">
										<ContentPresenter x:Name="Button1ContentPresenter" Content="{TemplateBinding Button1Content}" Visibility="{TemplateBinding ShowButton1}" MinHeight="8" Margin="0,8,4,8"/>
										<ContentPresenter x:Name="Button2ContentPresenter" Content="{TemplateBinding Button2Content}" Visibility="{TemplateBinding ShowButton2}" MinHeight="8" Margin="0,8,4,8"/>
										<ContentPresenter x:Name="Button3ContentPresenter" Content="{TemplateBinding Button3Content}" Visibility="{TemplateBinding ShowButton3}" MinHeight="8" Margin="0,8,4,8"/>
									</local:UniformGrid>
								</Grid>
								<local:IconMockup BorderBrush="{TemplateBinding IconStroke}" Background="{TemplateBinding IconFill}" IconImage="{TemplateBinding IconImage}" VerticalAlignment="Top" Height="48" Width="48" HorizontalAlignment="Left" Margin="{TemplateBinding Padding}"/>
							</Grid>
						</local:WindowMockup>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
		<Setter Property="IconFill" Value="{DynamicResource  BaseBackground-Sketch}"/>
		<Setter Property="IconStroke" Value="{DynamicResource  BaseBorder-Sketch}"/>
		<Setter Property="WindowBorderThickness" Value="{StaticResource MarginSmallALL}"/>
		<Setter Property="Padding" Value="15,15,8,4"/>
	</Style>

	<Style  TargetType="local:LogonMockup">
		<Setter Property="Background" Value="{DynamicResource  BaseBackground-Sketch}"/>
		<Setter Property="Foreground" Value="{DynamicResource  BaseForeground-Sketch}"/>
		<Setter Property="FontFamily" Value="{DynamicResource  FontFamily-Sketch}"/>
		<Setter Property="FontSize" Value="{DynamicResource  SizeDouble-Sketch}"/>
		<Setter Property="FontWeight" Value="{DynamicResource  FontWeight-Sketch}"/>
		<Setter Property="Padding" Value="{StaticResource MarginSmallALL}"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="local:LogonMockup">
					<Grid x:Name="LayoutRoot" d:DesignWidth="377" d:DesignHeight="150">
						<Grid.ColumnDefinitions>
							<ColumnDefinition/>
							<ColumnDefinition Width="Auto"/>
						</Grid.ColumnDefinitions>
						<Grid.RowDefinitions>
							<RowDefinition Height="Auto"/>
							<RowDefinition/>
							<RowDefinition Height="Auto"/>
							<RowDefinition Height="Auto"/>
							<RowDefinition Height="Auto"/>
						</Grid.RowDefinitions>
						<ContentPresenter x:Name="TitleContentPresenter" Content="{TemplateBinding TitleContent}" Margin="4,4,0,4" MinHeight="8" HorizontalAlignment="Left" VerticalAlignment="Center" d:LayoutOverrides="GridBox"/>
						<ContentPresenter x:Name="CustomContentPresenter" Content="{TemplateBinding Content}" Grid.Row="1" MinWidth="8" MinHeight="8" Margin="{TemplateBinding Padding}" Grid.ColumnSpan="2"/>
						<ContentPresenter x:Name="UsernameContentPresenter" Content="{TemplateBinding UsernameContent}" Grid.Row="2"/>
						<ContentPresenter x:Name="PasswordContentPresenter" Content="{TemplateBinding PasswordContent}" Grid.Row="3"/>
						<StackPanel HorizontalAlignment="Right" Margin="0,10,4,4" Orientation="Horizontal" Grid.Row="4" d:LayoutOverrides="Height">
							<ContentPresenter x:Name="Button1ContentPresenter" Content="{TemplateBinding Button1Content}" Style="{StaticResource ACPContentPresenter}" HorizontalAlignment="Right" Visibility="{TemplateBinding ShowButton1}"/>
							<ContentPresenter x:Name="Button2ContentPresenter" Content="{TemplateBinding Button2Content}" Style="{StaticResource ACPContentPresenter}" HorizontalAlignment="Right" Visibility="{TemplateBinding ShowButton2}"/>
							<ContentPresenter x:Name="Button3ContentPresenter" Content="{TemplateBinding Button3Content}" Style="{StaticResource ACPContentPresenter}" HorizontalAlignment="Right" Visibility="{TemplateBinding ShowButton3}"/>
						</StackPanel>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
		<Setter Property="BorderBrush" Value="{DynamicResource  BaseBorder-Sketch}"/>
	</Style>

	<Style  TargetType="local:BlockOfTextMockup">
		<Setter Property="Background" Value="{DynamicResource  BaseBackground-Sketch}"/>
		<Setter Property="BorderBrush" Value="{DynamicResource  BaseBorder-Sketch}"/>
		<Setter Property="Foreground" Value="{DynamicResource  BaseForeground-Sketch}"/>
		<Setter Property="FontFamily" Value="{DynamicResource  FontFamily-Sketch}"/>
		<Setter Property="FontSize" Value="{DynamicResource  SizeDouble-Sketch}"/>
		<Setter Property="FontWeight" Value="{DynamicResource  FontWeight-Sketch}"/>
		<Setter Property="Padding" Value="{StaticResource MarginSmallALL}"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="local:BlockOfTextMockup">
					<Grid x:Name="LayoutRoot" d:DesignWidth="100" d:DesignHeight="100" >
						<ps:SketchRectangleUC Style="{DynamicResource  Rectangle-Sketch}" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"/>
						<ContentPresenter Content="{TemplateBinding Content}" HorizontalAlignment="Left" VerticalAlignment="Top"/>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style  TargetType="local:PageSelectorMockup">
		<Setter Property="Background" Value="{DynamicResource  BaseBackground-Sketch}"/>
		<Setter Property="BorderBrush" Value="{DynamicResource  BaseBorder-Sketch}"/>
		<Setter Property="Foreground" Value="{DynamicResource  BaseForeground-Sketch}"/>
		<Setter Property="FontFamily" Value="{DynamicResource  FontFamily-Sketch}"/>
		<Setter Property="FontSize" Value="{DynamicResource  SizeDouble-Sketch}"/>
		<Setter Property="FontWeight" Value="{DynamicResource  FontWeight-Sketch}"/>
		<Setter Property="Padding" Value="{StaticResource MarginSmallALL}"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="local:PageSelectorMockup">
					<Grid x:Name="LayoutRoot" d:DesignWidth="575.299" d:DesignHeight="41.5" >
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="Auto"/>
							<ColumnDefinition/>
						</Grid.ColumnDefinitions>
						<Grid.RowDefinitions>
							<RowDefinition Height="Auto"/>
							<RowDefinition/>
						</Grid.RowDefinitions>
						<ContentPresenter Content="{TemplateBinding Content}" d:LayoutOverrides="GridBox" Grid.RowSpan="2"/>
						<Grid Grid.Row="1" Grid.RowSpan="1" Grid.ColumnSpan="1" Grid.Column="1">
							<Grid.ColumnDefinitions>
								<ColumnDefinition Width="Auto"/>
								<ColumnDefinition/>
								<ColumnDefinition Width="Auto"/>
							</Grid.ColumnDefinitions>
							<local:ButtonWithIconMockup Content="Prev " IconImage="Previous" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" Foreground="{TemplateBinding Foreground}" Margin="{StaticResource MarginStackHorizontal}"/>
							<local:ButtonWithIconMockup Content="Next" IconImage="Next" Grid.Column="2" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" Foreground="{TemplateBinding Foreground}" IconPlacement="Right" Margin="{StaticResource MarginStackHorizontal}"/>
							<local:UniformGrid Grid.Column="1" Rows="1">
								<local:OptionButtonWithIconMockup Content="1" IconPlacement="NoIcon" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" Foreground="{TemplateBinding Foreground}" FontFamily="{TemplateBinding FontFamily}" FontSize="{TemplateBinding FontSize}" FontWeight="{TemplateBinding FontWeight}" Margin="{StaticResource MarginStackHorizontal}" IsChecked="True"/>
								<local:OptionButtonWithIconMockup Content="2" IconPlacement="NoIcon" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" Foreground="{TemplateBinding Foreground}" FontFamily="{TemplateBinding FontFamily}" FontSize="{TemplateBinding FontSize}" FontWeight="{TemplateBinding FontWeight}" Margin="{StaticResource MarginStackHorizontal}"/>
								<local:OptionButtonWithIconMockup Content="3" IconPlacement="NoIcon" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" Foreground="{TemplateBinding Foreground}" FontFamily="{TemplateBinding FontFamily}" FontSize="{TemplateBinding FontSize}" FontWeight="{TemplateBinding FontWeight}" Margin="{StaticResource MarginStackHorizontal}"/>
								<local:OptionButtonWithIconMockup Content="..." IconPlacement="NoIcon" Foreground="{TemplateBinding Foreground}" FontFamily="{TemplateBinding FontFamily}" FontSize="{TemplateBinding FontSize}" FontWeight="{TemplateBinding FontWeight}" Background="{x:Null}" BorderBrush="{x:Null}" Margin="{StaticResource MarginStackHorizontal}"/>
								<local:OptionButtonWithIconMockup Content="8" IconPlacement="NoIcon" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" Foreground="{TemplateBinding Foreground}" FontFamily="{TemplateBinding FontFamily}" FontSize="{TemplateBinding FontSize}" FontWeight="{TemplateBinding FontWeight}" Margin="{StaticResource MarginStackHorizontal}"/>
								<local:OptionButtonWithIconMockup Content="9" IconPlacement="NoIcon" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" Foreground="{TemplateBinding Foreground}" FontFamily="{TemplateBinding FontFamily}" FontSize="{TemplateBinding FontSize}" FontWeight="{TemplateBinding FontWeight}" Margin="{StaticResource MarginStackHorizontal}"/>
								<local:OptionButtonWithIconMockup Content="10" IconPlacement="NoIcon" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" Foreground="{TemplateBinding Foreground}" FontFamily="{TemplateBinding FontFamily}" FontSize="{TemplateBinding FontSize}" FontWeight="{TemplateBinding FontWeight}" Margin="{StaticResource MarginStackHorizontal}"/>
							</local:UniformGrid>
						</Grid>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="PersonListBoxItem-Sketch" TargetType="ListBoxItem">
		<Setter Property="Padding" Value="3"/>
		<Setter Property="HorizontalContentAlignment" Value="Left"/>
		<Setter Property="VerticalContentAlignment" Value="Top"/>
		<Setter Property="Background" Value="Transparent"/>
		<Setter Property="BorderThickness" Value="1"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="ListBoxItem">
					<Grid Background="{TemplateBinding Background}">
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="Auto"/>
							<ColumnDefinition Width="Auto"/>
							<ColumnDefinition Width="Auto"/>
							<ColumnDefinition/>
						</Grid.ColumnDefinitions>
						<VisualStateManager.VisualStateGroups>
							<VisualStateGroup x:Name="CommonStates">
								<VisualStateGroup.Transitions>
									<VisualTransition GeneratedDuration="00:00:00.2000000"/>
								</VisualStateGroup.Transitions>
								<VisualState x:Name="Normal"/>
								<VisualState x:Name="MouseOver">
									<Storyboard>
										<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Over" Storyboard.TargetProperty="(UIElement.Opacity)">
											<EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
										</DoubleAnimationUsingKeyFrames>
									</Storyboard>
								</VisualState>
								<VisualState x:Name="Disabled">
									<Storyboard>
										<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="(UIElement.Opacity)">
											<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.5"/>
										</DoubleAnimationUsingKeyFrames>
									</Storyboard>
								</VisualState>
							</VisualStateGroup>
							<VisualStateGroup x:Name="SelectionStates">
								<VisualState x:Name="Unselected"/>
								<VisualState x:Name="Selected">
									<Storyboard>
										<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Selected1" Storyboard.TargetProperty="(UIElement.Opacity)">
											<EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
										</DoubleAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(IconMockup.IconImage)" Storyboard.TargetName="iconMockup">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<local:IconImage>Star</local:IconImage>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</VisualState>
							</VisualStateGroup>
							<VisualStateGroup x:Name="FocusStates">
								<VisualStateGroup.Transitions>
									<VisualTransition GeneratedDuration="00:00:00.1000000"/>
								</VisualStateGroup.Transitions>
								<VisualState x:Name="Focused">
									<Storyboard>
										<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Focus" Storyboard.TargetProperty="(UIElement.Opacity)">
											<EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
										</DoubleAnimationUsingKeyFrames>
									</Storyboard>
								</VisualState>
								<VisualState x:Name="Unfocused"/>
							</VisualStateGroup>
						</VisualStateManager.VisualStateGroups>
						<ps:SketchRectangleUC x:Name="Over" Opacity="0" BorderBrush="{DynamicResource  MouseOverBackground-Sketch}" Background="{DynamicResource  MouseOverBackground-Sketch}" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" d:IsLocked="True" Grid.ColumnSpan="4"/>
						<ps:SketchRectangleUC x:Name="Selected1" Opacity="0" BorderBrush="{DynamicResource  SelectedBackground-Sketch}" Background="{DynamicResource  SelectedBackground-Sketch}" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" d:IsLocked="True" Grid.ColumnSpan="4"/>
						<ps:SketchRectangleUC x:Name="Focus" Opacity="0" BorderBrush="{DynamicResource  FocusedBorder-Sketch}" Background="{x:Null}" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" Grid.ColumnSpan="4" d:IsLocked="True"/>
						<local:IconMockup BorderBrush="{DynamicResource  BaseBorder-Sketch}" Background="{DynamicResource  BaseBackground-Sketch}" Width="16" Height="16" IconImage="PersonAvatar" Margin="{TemplateBinding Padding}"/>
						<local:IconMockup x:Name="iconMockup" BorderBrush="{DynamicResource  BaseBorder-Sketch}" Background="{DynamicResource  BaseBackground-Sketch}" Grid.Column="1" IconImage="Star" Margin="3,9" Width="16" Height="16"/>
						<CheckBox Content="" Style="{DynamicResource  CheckBox-Sketch}" d:LayoutOverrides="Width" VerticalAlignment="Center" Padding="0" Margin="{TemplateBinding Padding}" Grid.Column="2"/>
						<ContentPresenter x:Name="contentPresenter" Grid.Column="3" Margin="{TemplateBinding Padding}"/>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
		<Setter Property="FontFamily" Value="{DynamicResource  FontFamily-Sketch}"/>
		<Setter Property="Foreground" Value="{DynamicResource  BaseForeground-Sketch}"/>
		<Setter Property="FontSize" Value="{DynamicResource  SizeDouble-Sketch}"/>
		<Setter Property="FontWeight" Value="{DynamicResource  FontWeight-Sketch}"/>
		<Setter Property="Margin" Value="5,4,0,0"/>
	</Style>

	<Style x:Key="ButtonClear-Sketch" TargetType="Button">
		<Setter Property="Background" Value="{x:Null}"/>
		<Setter Property="Foreground" Value="{DynamicResource  BaseForeground-Sketch}"/>
		<Setter Property="Padding" Value="3"/>
		<Setter Property="BorderThickness" Value="1"/>
		<Setter Property="BorderBrush" Value="{x:Null}"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="Button">
					<Grid Cursor="Hand" Background="#00000000">
						<VisualStateManager.VisualStateGroups>
							<VisualStateGroup x:Name="CommonStates">
								<VisualStateGroup.Transitions>
									<VisualTransition From="Pressed" GeneratedDuration="00:00:00" To="MouseOver"/>
									<VisualTransition GeneratedDuration="00:00:00" To="Pressed"/>
								</VisualStateGroup.Transitions>
								<VisualState x:Name="Normal"/>
								<VisualState x:Name="MouseOver">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Normal1" Storyboard.TargetProperty="(UIElement.Visibility)">
											<DiscreteObjectKeyFrame KeyTime="00:00:00">
												<DiscreteObjectKeyFrame.Value>
													<Visibility>Collapsed</Visibility>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Over" Storyboard.TargetProperty="(UIElement.Visibility)">
											<DiscreteObjectKeyFrame KeyTime="00:00:00">
												<DiscreteObjectKeyFrame.Value>
													<Visibility>Visible</Visibility>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</VisualState>
								<VisualState x:Name="Pressed">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Normal1" Storyboard.TargetProperty="(UIElement.Visibility)">
											<DiscreteObjectKeyFrame KeyTime="00:00:00">
												<DiscreteObjectKeyFrame.Value>
													<Visibility>Collapsed</Visibility>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Pressed1" Storyboard.TargetProperty="(UIElement.Visibility)">
											<DiscreteObjectKeyFrame KeyTime="00:00:00">
												<DiscreteObjectKeyFrame.Value>
													<Visibility>Visible</Visibility>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</VisualState>
								<VisualState x:Name="Disabled">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Disabled1" Storyboard.TargetProperty="(UIElement.Visibility)">
											<DiscreteObjectKeyFrame KeyTime="00:00:00">
												<DiscreteObjectKeyFrame.Value>
													<Visibility>Visible</Visibility>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Normal1" Storyboard.TargetProperty="(UIElement.Visibility)">
											<DiscreteObjectKeyFrame KeyTime="00:00:00">
												<DiscreteObjectKeyFrame.Value>
													<Visibility>Collapsed</Visibility>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="(UIElement.Opacity)">
											<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.6"/>
										</DoubleAnimationUsingKeyFrames>
									</Storyboard>
								</VisualState>
							</VisualStateGroup>
							<VisualStateGroup x:Name="FocusStates">
								<VisualState x:Name="Focused">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Focus" Storyboard.TargetProperty="(UIElement.Visibility)">
											<DiscreteObjectKeyFrame KeyTime="00:00:00">
												<DiscreteObjectKeyFrame.Value>
													<Visibility>Visible</Visibility>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</VisualState>
								<VisualState x:Name="Unfocused"/>
							</VisualStateGroup>
						</VisualStateManager.VisualStateGroups>
						<ps:SketchRectangleUC x:Name="Normal1" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" Foreground="{TemplateBinding Foreground}"/>
						<ps:SketchRectangleUC x:Name="Over" Background="{DynamicResource  MouseOverBackground-Sketch}" BorderBrush="{DynamicResource  BaseBorder-Sketch}" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" Visibility="Collapsed"/>
						<ps:SketchRectangleUC x:Name="Pressed1" Background="{DynamicResource  PressedBackground-Sketch}" BorderBrush="{DynamicResource  BaseBorder-Sketch}" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" Visibility="Collapsed"/>
						<ps:SketchRectangleUC x:Name="Focus" Background="{x:Null}" BorderBrush="{DynamicResource  FocusedBorder-Sketch}" StrokeWidth="2" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" Visibility="Collapsed"/>
						<ps:SketchRectangleUC x:Name="Disabled1" Background="{DynamicResource  BaseBackground-Sketch}" Visibility="Collapsed" BorderBrush="{DynamicResource  DisabledBorder-Sketch}" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1"/>
						<ContentPresenter x:Name="contentPresenter" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}"/>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
		<Setter Property="FontFamily" Value="{DynamicResource  FontFamily-Sketch}"/>
		<Setter Property="FontSize" Value="{DynamicResource  SizeDouble-Sketch}"/>
		<Setter Property="FontWeight" Value="{DynamicResource  FontWeight-Sketch}"/>
		<Setter Property="HorizontalContentAlignment" Value="Left"/>
	</Style>

	<Style x:Key="WindowsToggleButtonTemplate" TargetType="local:ToggleButtonWithIconMockup">
		<Setter Property="Padding" Value="{StaticResource ButtonMockupPadding}"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="local:ToggleButtonWithIconMockup">
					<Grid>
						<local:IconMockup IconImage="Ball" Foreground="{TemplateBinding IconFill}" Background="{DynamicResource BaseBorder-Sketch}" BorderBrush="{x:Null}" />
						<Viewbox>
                            <local:IconMockup x:Name="logo" IconImage="Home" Foreground="{DynamicResource BaseBackground-Sketch}" BorderBrush="{x:Null}" Background="{x:Null}" Margin="8" />
						</Viewbox>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style  TargetType="local:DesktopMockup">
		<Setter Property="Background" Value="{DynamicResource  BaseBackground-Sketch}"/>
		<Setter Property="BorderBrush" Value="{DynamicResource  BaseBorder-Sketch}"/>
		<Setter Property="Foreground" Value="{DynamicResource  BaseForeground-Sketch}"/>
		<Setter Property="FontFamily" Value="{DynamicResource  FontFamily-Sketch}"/>
		<Setter Property="FontWeight" Value="{DynamicResource  FontWeight-Sketch}"/>
		<Setter Property="Padding" Value="{StaticResource MarginSmallALL}"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="local:DesktopMockup">
					<Grid x:Name="LayoutRoot" d:DesignWidth="640" d:DesignHeight="480"  >
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="40"/>
							<ColumnDefinition/>
							<ColumnDefinition Width="40"/>
						</Grid.ColumnDefinitions>
						<Grid.RowDefinitions>
							<RowDefinition Height="40"/>
							<RowDefinition/>
							<RowDefinition Height="40"/>
						</Grid.RowDefinitions>
						<VisualStateManager.VisualStateGroups>
							<VisualStateGroup x:Name="TaskbarLocation">
								<VisualState x:Name="Left">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="TaskbarSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>0</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.RowSpan)" Storyboard.TargetName="TaskbarSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>3</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.ColumnSpan)" Storyboard.TargetName="TaskbarSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>1</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Column)" Storyboard.TargetName="DesktopSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>1</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.RowSpan)" Storyboard.TargetName="DesktopSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>3</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.ColumnSpan)" Storyboard.TargetName="DesktopSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>2</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="TasktraySection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>2</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Column)" Storyboard.TargetName="TasktraySection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>0</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="TaskbarButtonsSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>1</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Column)" Storyboard.TargetName="TaskbarButtonsSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>0</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="StartmenuSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>1</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.RowSpan)" Storyboard.TargetName="StartmenuSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>1</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.VerticalAlignment)" Storyboard.TargetName="StartmenuSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<VerticalAlignment>Top</VerticalAlignment>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(StackPanel.Orientation)" Storyboard.TargetName="TasktrayContents">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<Orientation>Vertical</Orientation>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</VisualState>
								<VisualState x:Name="Bottom"/>
								<VisualState x:Name="Top">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="TaskbarSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>0</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="DesktopSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>1</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.VerticalAlignment)" Storyboard.TargetName="StartmenuSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<VerticalAlignment>Top</VerticalAlignment>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="StartmenuSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>1</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Column)" Storyboard.TargetName="StartmenuSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>0</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.RowSpan)" Storyboard.TargetName="StartmenuSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>2</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</VisualState>
								<VisualState x:Name="Right">
									<Storyboard>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Column)" Storyboard.TargetName="TaskbarSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>2</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.ColumnSpan)" Storyboard.TargetName="TaskbarSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>1</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="TaskbarSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>0</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.RowSpan)" Storyboard.TargetName="TaskbarSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>3</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.ColumnSpan)" Storyboard.TargetName="DesktopSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>2</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="TasktraySection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>2</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Column)" Storyboard.TargetName="TasktraySection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>0</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="TaskbarButtonsSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>1</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Column)" Storyboard.TargetName="TaskbarButtonsSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>0</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.HorizontalAlignment)" Storyboard.TargetName="StartmenuSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<HorizontalAlignment>Right</HorizontalAlignment>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="StartmenuSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>1</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.VerticalAlignment)" Storyboard.TargetName="StartmenuSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<VerticalAlignment>Top</VerticalAlignment>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(StackPanel.Orientation)" Storyboard.TargetName="TasktrayContents">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<Orientation>Vertical</Orientation>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Column)" Storyboard.TargetName="StartmenuSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>1</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
										<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.RowSpan)" Storyboard.TargetName="DesktopSection">
											<DiscreteObjectKeyFrame KeyTime="0">
												<DiscreteObjectKeyFrame.Value>
													<System:Int32>3</System:Int32>
												</DiscreteObjectKeyFrame.Value>
											</DiscreteObjectKeyFrame>
										</ObjectAnimationUsingKeyFrames>
									</Storyboard>
								</VisualState>
							</VisualStateGroup>
						</VisualStateManager.VisualStateGroups>
						<ps:SketchRectangleUC Style="{DynamicResource  Rectangle-Sketch}" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" d:IsLocked="True" Grid.RowSpan="3" Grid.ColumnSpan="3"/>
						<Grid x:Name="DesktopSection" Grid.ColumnSpan="3" Grid.RowSpan="2" Margin="2" Background="#FFEDEDED">
							<ContentPresenter Content="{TemplateBinding Content}" d:IsLocked="True"/>
						</Grid>
						<Grid x:Name="TaskbarSection" Grid.Row="2" Grid.ColumnSpan="3" Background="#FF858585">
							<Grid.RowDefinitions>
								<RowDefinition Height="40"/>
								<RowDefinition/>
								<RowDefinition Height="Auto"/>
							</Grid.RowDefinitions>
							<Grid.ColumnDefinitions>
								<ColumnDefinition Width="40"/>
								<ColumnDefinition/>
								<ColumnDefinition Width="Auto"/>
							</Grid.ColumnDefinitions>
							<Grid Margin="5">
								<local:ToggleButtonWithIconMockup x:Name="StartButton" Style="{StaticResource WindowsToggleButtonTemplate}" Width="30" Height="30" IconPlacement="Fill" IsChecked="{TemplateBinding StartMenuIsOpen}" />
							</Grid>
							<Grid x:Name="TasktraySection" Grid.Column="2">
								<StackPanel x:Name="TasktrayContents" Orientation="Horizontal">
									<TextBlock Style="{DynamicResource  BasicTextBlock-Sketch}" TextWrapping="Wrap" Text="9:11 AM" VerticalAlignment="Center" Margin="{TemplateBinding Padding}" Padding="0,0,3,0"/>
								</StackPanel>
							</Grid>
							<Grid x:Name="TaskbarButtonsSection" Grid.Column="1" >
								<ContentPresenter Content="{TemplateBinding TaskbarButtonsContent}" VerticalAlignment="Center" HorizontalAlignment="Left"/>
							</Grid>
						</Grid>
						<Grid x:Name="StartmenuSection" Width="400" Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Bottom" Grid.ColumnSpan="2" Visibility="{Binding IsChecked, Converter={StaticResource BoolToVisibilityCollapsedConverter}, ElementName=StartButton}">
							<Grid.ColumnDefinitions>
								<ColumnDefinition Width="250"/>
								<ColumnDefinition/>
							</Grid.ColumnDefinitions>
							<ps:SketchRectangleUC Style="{DynamicResource  Rectangle-Sketch}" Grid.ColumnSpan="2" Background="#FF4B4B4B"/>
							<Grid x:Name="ProgramsSection" Margin="{TemplateBinding Padding}">
								<Grid.RowDefinitions>
									<RowDefinition Height="0.818*"/>
									<RowDefinition Height="0.182*"/>
									<RowDefinition Height="Auto"/>
								</Grid.RowDefinitions>
								<Grid.ColumnDefinitions>
									<ColumnDefinition/>
								</Grid.ColumnDefinitions>
								<ps:SketchRectangleUC Style="{DynamicResource  Rectangle-Sketch}" Grid.ColumnSpan="1" Grid.RowSpan="3" d:IsLocked="True"/>
								<ContentPresenter x:Name="StartMenuContentPresenter" Margin="4" Grid.RowSpan="1" Content="{TemplateBinding StartMenuButtonsContent}"/>
								<TextBox Style="{DynamicResource  BasicTextBox-Sketch}" TextWrapping="Wrap" Text="Search" Grid.Row="2" Margin="{StaticResource MarginSmallALL}" Padding="6,2,2,2"/>
                                <local:ToggleButtonWithIconMockup Content="All programs" Grid.Row="1" IconImage="Play" Margin="{StaticResource MarginSmallALL}" Style="{StaticResource IconToggleButtonClear}" HorizontalAlignment="Left"/>
							</Grid>
							<Grid x:Name="RightPane" Grid.Column="1">
								<Grid.RowDefinitions>
									<RowDefinition/>
									<RowDefinition Height="Auto"/>
								</Grid.RowDefinitions>
								<StackPanel x:Name="RightPaneLinks">
									<local:IconMockup BorderBrush="#FF606060" Background="White" Height="48" IconImage="PersonAvatar" Padding="1" Width="48" Margin="{TemplateBinding Padding}" HorizontalAlignment="Center"/>
									<Button Content="User" Style="{StaticResource ButtonClear-Sketch}" Margin="{TemplateBinding Padding}" Foreground="White"/>
									<Button Content="Documents" Style="{StaticResource ButtonClear-Sketch}" Margin="{TemplateBinding Padding}" Foreground="White"/>
									<Button Content="Pictures" Style="{StaticResource ButtonClear-Sketch}" Margin="{TemplateBinding Padding}" Foreground="White"/>
									<Button Content="Music" Style="{StaticResource ButtonClear-Sketch}" Margin="{TemplateBinding Padding}" Foreground="White"/>
									<Button Content="Control Panel" Style="{StaticResource ButtonClear-Sketch}" Margin="{TemplateBinding Padding}" Foreground="White"/>
								</StackPanel>
								<Button Content="Shut down" Style="{DynamicResource  Button-Sketch}" Margin="{TemplateBinding Padding}" HorizontalContentAlignment="Left" Grid.Row="1" d:LayoutOverrides="Height" Background="{x:Null}" Foreground="White" BorderBrush="White" Padding="7,3,3,3"/>
							</Grid>
						</Grid>
						<TextBlock Margin="0,-17,228,0" Style="{DynamicResource  BasicTextBlock-Sketch}" TextWrapping="Wrap" Text="{TemplateBinding StartMenuIsOpen}" Grid.Column="1" HorizontalAlignment="Right" Grid.Row="1" VerticalAlignment="Top"/>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
		<Setter Property="FontSize" Value="10.667"/>
		<Setter Property="StartMenuIsOpen" Value="True"/>
	</Style>

	<Style  TargetType="local:ValueEditorMockup">
		<Setter Property="Background" Value="{DynamicResource  BaseBackground-Sketch}"/>
		<Setter Property="BorderBrush" Value="{DynamicResource  BaseBorder-Sketch}"/>
		<Setter Property="Foreground" Value="{DynamicResource  BaseForeground-Sketch}"/>
		<Setter Property="FontFamily" Value="{DynamicResource  FontFamily-Sketch}"/>
		<Setter Property="FontSize" Value="{DynamicResource  SizeDouble-Sketch}"/>
		<Setter Property="FontWeight" Value="{DynamicResource  FontWeight-Sketch}"/>
		<Setter Property="Padding" Value="{StaticResource MarginSmallALL}"/>
		<Setter Property="ValueHorizontalAlignment" Value="Left"/>
		<Setter Property="PropertyHorizontalAlignment" Value="Left"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="local:ValueEditorMockup">
					<Grid x:Name="LayoutRoot">
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="0.25*"/>
							<ColumnDefinition Width="0.75*"/>
						</Grid.ColumnDefinitions>
						<ContentPresenter x:Name="PropertyContentPresenter" VerticalAlignment="Center" Margin="{TemplateBinding Padding}" HorizontalAlignment="{TemplateBinding PropertyHorizontalAlignment}" Content="{TemplateBinding TitleContent}"/>
						<Grid x:Name="grid" Grid.Column="1" Margin="{TemplateBinding Padding}" VerticalAlignment="Center">
							<ps:SketchRectangleUC Grid.ColumnSpan="1" Style="{DynamicResource  Rectangle-Sketch}" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"/>
							<ContentPresenter x:Name="ValueContentPresenter" VerticalAlignment="Center" HorizontalAlignment="{TemplateBinding ValueHorizontalAlignment}" Content="{TemplateBinding Content}"/>
						</Grid>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style  TargetType="local:MediaControlsMockup">
		<Setter Property="Background" Value="{DynamicResource  BaseBackground-Sketch}"/>
		<Setter Property="BorderBrush" Value="{x:Null}"/>
		<Setter Property="Foreground" Value="{DynamicResource  BaseForeground-Sketch}"/>
		<Setter Property="Padding" Value="{StaticResource MarginSmallALL}"/>
		<Setter Property="IconFill" Value="{DynamicResource BaseForeground-Sketch}"/>
		<Setter Property="IconStroke" Value="{DynamicResource FocusedBorder-Sketch}"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="local:MediaControlsMockup">
					<Grid x:Name="LayoutRoot" d:DesignWidth="240" d:DesignHeight="64">
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="Auto"/>
							<ColumnDefinition/>
						</Grid.ColumnDefinitions>
						<Grid.RowDefinitions>
							<RowDefinition Height="Auto"/>
							<RowDefinition/>
						</Grid.RowDefinitions>
						<ps:SketchRectangleUC Style="{DynamicResource  Rectangle-Sketch}" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" Foreground="{TemplateBinding Foreground}" Grid.RowSpan="2" Grid.ColumnSpan="2"/>
						<StackPanel x:Name="stackPanel" Orientation="Horizontal" HorizontalAlignment="Center" Grid.Row="1" Grid.ColumnSpan="2">
							<local:ToggleButtonWithIconMockup Content="" IconImage="Repeat" Margin="{TemplateBinding Padding}" BorderBrush="{x:Null}" Background="{x:Null}" IconPlacement="Fill" Height="24" IconFill="{TemplateBinding IconFill}" IconStroke="{TemplateBinding IconStroke}"/>
							<local:OptionButtonWithIconMockup Content="" IconImage="Stop" Margin="{TemplateBinding Padding}" GroupName="TransportControlsGroup" BorderBrush="{x:Null}" Background="{x:Null}" IconPlacement="Fill" Height="22" IconFill="{TemplateBinding IconFill}" IconStroke="{TemplateBinding IconStroke}"/>
							<local:ButtonWithIconMockup Content="" IconImage="Previous" BorderBrush="{x:Null}" Background="{x:Null}" IconPlacement="Fill" Height="24" Margin="{TemplateBinding Padding}" IconFill="{TemplateBinding IconFill}" IconStroke="{TemplateBinding IconStroke}"/>
							<local:OptionButtonWithIconMockup Content="" IconImage="Play" GroupName="TransportControlsGroup" BorderBrush="{x:Null}" Background="{x:Null}" IconPlacement="Fill" Height="24" Margin="{TemplateBinding Padding}" IconFill="{TemplateBinding IconFill}" IconStroke="{TemplateBinding IconStroke}"/>
							<local:ButtonWithIconMockup Content="" IconImage="Next" BorderBrush="{x:Null}" Background="{x:Null}" IconPlacement="Fill" Height="24" Margin="{TemplateBinding Padding}" IconFill="{TemplateBinding IconFill}" IconStroke="{TemplateBinding IconStroke}"/>
							<Slider x:Name="VolumeSlider" Style="{DynamicResource  Slider-Sketch}" Width="50" Visibility="{TemplateBinding ShowVolumeControl}" Margin="{TemplateBinding Padding}" Maximum="100" Value="75"/>
							<ContentPresenter Content="{TemplateBinding Content}" Margin="{TemplateBinding Padding}" HorizontalAlignment="Left" VerticalAlignment="Top"/>
						</StackPanel>
						<Grid x:Name="SeekSection" Grid.RowSpan="1" Margin="{TemplateBinding Padding}" Visibility="{TemplateBinding ShowSeekControl}" Grid.ColumnSpan="2">
							<Slider x:Name="SeekSlider" Style="{DynamicResource  Slider-Sketch}" Visibility="{TemplateBinding ShowSeekControl}"/>
						</Grid>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
		<Setter Property="Width" Value="260"/>
	</Style>

	<Style  TargetType="local:MediaPlayerMockup">
		<Setter Property="Background" Value="{DynamicResource  BaseBackground-Sketch}"/>
		<Setter Property="BorderBrush" Value="{DynamicResource  BaseBorder-Sketch}"/>
		<Setter Property="Foreground" Value="{DynamicResource  BaseForeground-Sketch}"/>
		<Setter Property="FontFamily" Value="{DynamicResource  FontFamily-Sketch}"/>
		<Setter Property="FontSize" Value="{DynamicResource  SizeDouble-Sketch}"/>
		<Setter Property="FontWeight" Value="{DynamicResource  FontWeight-Sketch}"/>
		<Setter Property="WindowBorderFillBrush" Value="{StaticResource WindowBackground-Mockup}"/>
		<Setter Property="ShowStatusBar" Value="Collapsed"/>
		<Setter Property="Padding" Value="{StaticResource MarginSmallALL}"/>
		<Setter Property="WindowBorderThickness" Value="{StaticResource MarginSmallALL}"/>
		<Setter Property="IconFill" Value="{DynamicResource BaseForeground-Sketch}"/>
		<Setter Property="IconStroke" Value="{DynamicResource FocusedBorder-Sketch}"/>
		<Setter Property="ShowFullScreenButton" Value="Visible"/>
		<Setter Property="ShowLowerBar" Value="Visible"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="local:MediaPlayerMockup">
					<Grid x:Name="LayoutRoot" d:DesignWidth="301" d:DesignHeight="248">
						<local:WindowMockup ShowLowerBar="Visible" TitleContent="{TemplateBinding TitleContent}" StatusContent="{TemplateBinding StatusContent}" ShowFullScreenButton="{TemplateBinding ShowFullScreenButton}" ShowMenuBar="{TemplateBinding ShowMenuBar}" ShowPathControls="{TemplateBinding ShowPathControls}" ShowStatusBar="{TemplateBinding ShowStatusBar}" ShowTitleBar="{TemplateBinding ShowTitleBar}">
							<local:WindowMockup.NavBarContent>
								<TextBox Margin="8" Style="{DynamicResource  BasicTextBox-Sketch}" Text="Path"/>
							</local:WindowMockup.NavBarContent>
							<local:WindowMockup.MenuBarContent>
								<TextBlock Margin="8" Style="{DynamicResource  BasicTextBlock-Sketch}" Text="menu bar"/>
							</local:WindowMockup.MenuBarContent>
							<local:WindowMockup.LowerBarContent>
								<Grid>
									<local:MediaControlsMockup Margin="8,0,8,2" ShowSeekControl="{TemplateBinding ShowSeekControl}" ShowVolumeControl="{TemplateBinding ShowVolumeControl}" IconFill="{TemplateBinding IconFill}" IconStroke="{TemplateBinding IconStroke}">
										<Grid Background="White" MinWidth="8" MinHeight="8"/>
									</local:MediaControlsMockup>
								</Grid>
							</local:WindowMockup.LowerBarContent>
							<Grid Background="Transparent" MinWidth="8" MinHeight="8">
								<Viewbox>
									<ContentPresenter Height="140" Width="285" Content="{TemplateBinding Content}"/>
								</Viewbox>
							</Grid>
						</local:WindowMockup>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="DirectoryListBoxItem-Sketch" TargetType="ListBoxItem">
		<Setter Property="FontFamily" Value="{DynamicResource FontFamily-Sketch}"/>
		<Setter Property="Foreground" Value="{DynamicResource BaseForeground-Sketch}"/>
		<Setter Property="FontSize" Value="{DynamicResource SizeDouble-Sketch}"/>
		<Setter Property="FontWeight" Value="{DynamicResource FontWeight-Sketch}"/>
		<Setter Property="Margin" Value="5,4,0,0"/>
		<Setter Property="Padding" Value="3"/>
		<Setter Property="HorizontalContentAlignment" Value="Left"/>
		<Setter Property="VerticalContentAlignment" Value="Top"/>
		<Setter Property="Background" Value="Transparent"/>
		<Setter Property="BorderThickness" Value="1"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="ListBoxItem">
					<Grid Background="{TemplateBinding Background}">
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="Auto"/>
							<ColumnDefinition/>
						</Grid.ColumnDefinitions>
						<VisualStateManager.VisualStateGroups>
							<VisualStateGroup x:Name="CommonStates">
								<VisualStateGroup.Transitions>
									<VisualTransition GeneratedDuration="00:00:00.2000000"/>
								</VisualStateGroup.Transitions>
								<VisualState x:Name="Normal"/>
								<VisualState x:Name="MouseOver">
									<Storyboard>
										<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Over" Storyboard.TargetProperty="(UIElement.Opacity)">
											<EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
										</DoubleAnimationUsingKeyFrames>
									</Storyboard>
								</VisualState>
								<VisualState x:Name="Disabled">
									<Storyboard>
										<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="(UIElement.Opacity)">
											<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.5"/>
										</DoubleAnimationUsingKeyFrames>
									</Storyboard>
								</VisualState>
							</VisualStateGroup>
							<VisualStateGroup x:Name="SelectionStates">
								<VisualState x:Name="Unselected"/>
								<VisualState x:Name="Selected">
									<Storyboard>
										<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Selected1" Storyboard.TargetProperty="(UIElement.Opacity)">
											<EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
										</DoubleAnimationUsingKeyFrames>
									</Storyboard>
								</VisualState>
							</VisualStateGroup>
							<VisualStateGroup x:Name="FocusStates">
								<VisualStateGroup.Transitions>
									<VisualTransition GeneratedDuration="00:00:00.1000000"/>
								</VisualStateGroup.Transitions>
								<VisualState x:Name="Focused">
									<Storyboard>
										<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="Focus" Storyboard.TargetProperty="(UIElement.Opacity)">
											<EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
										</DoubleAnimationUsingKeyFrames>
									</Storyboard>
								</VisualState>
								<VisualState x:Name="Unfocused"/>
							</VisualStateGroup>
						</VisualStateManager.VisualStateGroups>
						<ps:SketchRectangleUC x:Name="Over" Opacity="0" BorderBrush="{DynamicResource  MouseOverBackground-Sketch}" Background="{DynamicResource  MouseOverBackground-Sketch}" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" Grid.ColumnSpan="2"/>
						<ps:SketchRectangleUC x:Name="Selected1" Opacity="0" BorderBrush="{DynamicResource  SelectedBackground-Sketch}" Background="{DynamicResource  SelectedBackground-Sketch}" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" Grid.ColumnSpan="2"/>
						<ps:SketchRectangleUC x:Name="Focus" Opacity="0" BorderBrush="{DynamicResource  FocusedBorder-Sketch}" Background="{x:Null}" SegmentLength="8" SegmentOffset="0.12" SegmentVariance="0.1" Grid.ColumnSpan="2"/>
						<local:IconMockup BorderBrush="{DynamicResource  BaseBorder-Sketch}" Background="{DynamicResource  BaseBackground-Sketch}" Width="16" Height="16" Margin="4,2,2,2" IconImage="Folder"/>
						<ContentPresenter x:Name="contentPresenter" Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="2,2,4,2"/>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style  TargetType="local:WindowsExplorerMockup">
		<Setter Property="Background" Value="{DynamicResource BaseBackground-Sketch}"/>
		<Setter Property="BorderBrush" Value="{DynamicResource BaseBorder-Sketch}"/>
		<Setter Property="Foreground" Value="{DynamicResource BaseForeground-Sketch}"/>
		<Setter Property="FontFamily" Value="{DynamicResource FontFamily-Sketch}"/>
		<Setter Property="FontSize" Value="{DynamicResource SizeDouble-Sketch}"/>
		<Setter Property="FontWeight" Value="{DynamicResource FontWeight-Sketch}"/>
		<Setter Property="WindowBorderFillBrush" Value="{StaticResource WindowBackground-Mockup}"/>
		<Setter Property="ShowPathControls" Value="Visible"/>
		<Setter Property="ShowMenuBar" Value="Visible"/>
		<Setter Property="Padding" Value="{StaticResource MarginSmallALL}"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="local:WindowsExplorerMockup">
					<Grid x:Name="LayoutRoot" d:DesignWidth="500" d:DesignHeight="400" >
                        <local:WindowMockup ShowPathControls="Visible" TitleContent="{TemplateBinding TitleContent}" ShowMenuBar="{TemplateBinding ShowMenuBar}" WindowBorderFillBrush="{TemplateBinding WindowBorderFillBrush}" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" Foreground="{TemplateBinding Foreground}" ShowCloseButton="{TemplateBinding ShowCloseButton}" ShowFullScreenButton="{TemplateBinding ShowFullScreenButton}" ShowMaximizeButton="{TemplateBinding ShowMaximizeButton}" ShowMinimizeButton="{TemplateBinding ShowMinimizeButton}">
							<local:WindowMockup.MenuBarContent>
								<Grid>
									<StackPanel Orientation="Horizontal" Margin="2,0,4,0">
										<local:ButtonWithIconMockup Content="Open" Margin="{StaticResource MarginNormalROW}" IconImage="OpenFile" BorderBrush="{x:Null}" Background="{x:Null}"/>
										<local:ButtonWithIconMockup Content="Share"  Margin="{StaticResource MarginNormalROW}" IconImage="Share" BorderBrush="{x:Null}" Background="{x:Null}"/>
										<local:ButtonWithIconMockup Content="New Folder"  Margin="{StaticResource MarginNormalROW}" IconImage="Add" Background="{x:Null}" BorderBrush="{x:Null}"/>
									</StackPanel>
								</Grid>
							</local:WindowMockup.MenuBarContent>
							<local:WindowMockup.StatusContent>
								<Grid x:Name="DetailsSection" Visibility="{TemplateBinding ShowDetailsPane}" Margin="0,8,0,0">
									<Grid.ColumnDefinitions>
										<ColumnDefinition Width="Auto"/>
										<ColumnDefinition/>
									</Grid.ColumnDefinitions>
									<local:IconMockup Width="48" Height="48" IconImage="Folder" Margin="16,3,8,5" />
									<Grid Grid.Column="1" DataContext="{Binding SelectedItem, ElementName=listBox}"  Margin="4,-4,4,12">
										<Grid.RowDefinitions>
											<RowDefinition Height="Auto"/>
											<RowDefinition Height="Auto"/>
											<RowDefinition Height="Auto"/>
										</Grid.RowDefinitions>
										<Grid.ColumnDefinitions>
											<ColumnDefinition Width="121"/>
											<ColumnDefinition Width="62"/>
											<ColumnDefinition Width="0.581*"/>
											<ColumnDefinition Width="0.249*"/>
											<ColumnDefinition Width="0.17*"/>
										</Grid.ColumnDefinitions>
										<ContentPresenter Content="{TemplateBinding StatusContent}" Grid.ColumnSpan="5"/>
										<TextBlock Grid.Column="2" Grid.Row="2"  Style="{DynamicResource  BasicTextBlock-Sketch}" Text="200K"/>
										<TextBlock Style="{DynamicResource  BasicTextBlock-Sketch}" Foreground="Black" Grid.Row="1" Text="File"/>
										<TextBlock Grid.Row="2" Grid.RowSpan="1" Style="{DynamicResource  BasicTextBlock-Sketch}" Text="Document"/>
										<TextBlock HorizontalAlignment="Right" Style="{DynamicResource  BasicTextBlock-Sketch}" TextWrapping="Wrap" Text="Date: " d:LayoutOverrides="Height" Grid.Column="1" Foreground="{StaticResource TextLightForeground}" Grid.Row="1"/>
										<TextBlock Style="{DynamicResource  BasicTextBlock-Sketch}" Grid.Column="2" Grid.Row="1" Text="Today"/>
										<TextBlock HorizontalAlignment="Right" Style="{DynamicResource  BasicTextBlock-Sketch}" TextWrapping="Wrap" Text="Size: " Grid.Column="1" Foreground="{StaticResource TextLightForeground}" d:LayoutOverrides="Height" Grid.Row="2"/>
									</Grid>
								</Grid>
							</local:WindowMockup.StatusContent>
							<local:WindowMockup.NavBarContent>
								<Grid x:Name="NavigationControls" Visibility="{TemplateBinding ShowPathControls}">
									<Grid.ColumnDefinitions>
										<ColumnDefinition Width="Auto"/>
										<ColumnDefinition Width="Auto"/>
										<ColumnDefinition/>
										<ColumnDefinition Width="Auto"/>
										<ColumnDefinition Width="150"/>
									</Grid.ColumnDefinitions>
									<StackPanel x:Name="ForwardBackButtons" Orientation="Horizontal" Margin="{TemplateBinding Padding}">
										<local:ButtonWithIconMockup Content="" IconImage="ArrowLeft" Margin="0,0,-2,0" Background="{x:Null}" BorderBrush="{x:Null}" IconPlacement="Fill"/>
										<local:ButtonWithIconMockup Content="" IconImage="ArrowRight" Background="{x:Null}" BorderBrush="{x:Null}" IconPlacement="Fill"/>
									</StackPanel>
									<Grid x:Name="PathSection" Grid.Column="2" Margin="{TemplateBinding Padding}" VerticalAlignment="Center">
										<Grid.ColumnDefinitions>
											<ColumnDefinition Width="Auto"/>
											<ColumnDefinition/>
											<ColumnDefinition Width="Auto"/>
										</Grid.ColumnDefinitions>
										<ps:SketchRectangleUC Style="{DynamicResource  Rectangle-Sketch}" Grid.Column="1"/>
										<ContentPresenter Content="{TemplateBinding NavBarContent}" HorizontalAlignment="Left" VerticalAlignment="Center" Grid.Column="1"/>
										<local:ButtonWithIconMockup Content=""  Grid.Column="2" IconPlacement="Fill" IconImage="Refresh" Background="{x:Null}" BorderBrush="{x:Null}"/>
									</Grid>
									<Grid x:Name="SearchSection" Grid.Column="4" Margin="{TemplateBinding Padding}" VerticalAlignment="Center">
										<Grid.ColumnDefinitions>
											<ColumnDefinition/>
											<ColumnDefinition Width="Auto"/>
										</Grid.ColumnDefinitions>
										<ps:SketchRectangleUC Style="{DynamicResource  Rectangle-Sketch}" Grid.ColumnSpan="1" Padding="6,2,2,2"/>
										<TextBlock Text="Search..." Grid.ColumnSpan="1" Padding="6,2,2,2"/>
										<local:ButtonWithIconMockup Content=""  Grid.Column="1" IconImage="Zoom" Padding="2" Background="{x:Null}" BorderBrush="{x:Null}" IconPlacement="Fill" />
									</Grid>
								</Grid>
							</local:WindowMockup.NavBarContent>
							<Grid x:Name="MainContentSection" Margin="0,0,0,1">
								<Grid.ColumnDefinitions>
									<ColumnDefinition Width="134"/>
									<ColumnDefinition/>
								</Grid.ColumnDefinitions>
								<Grid x:Name="DirectoriesSection" Margin="0,0,2,0">
									<ListBox x:Name="DirectoriesList" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Visible" Style="{StaticResource ListBox-Sketch3}" Background="{x:Null}" BorderBrush="{TemplateBinding BorderBrush}" Foreground="{TemplateBinding Foreground}" HorizontalContentAlignment="Stretch" >
										<ListBoxItem Content="Desktop" Style="{StaticResource DirectoryListBoxItem-Sketch}"/>
										<ListBoxItem Content="Documents" Style="{StaticResource DirectoryListBoxItem-Sketch}"/>
										<ListBoxItem Content="Music" Style="{StaticResource DirectoryListBoxItem-Sketch}"/>
										<ListBoxItem Content="Pictures" Style="{StaticResource DirectoryListBoxItem-Sketch}"/>
										<ListBoxItem Content="Video" Style="{StaticResource DirectoryListBoxItem-Sketch}"/>
										<ListBoxItem Content="Computer" Style="{StaticResource DirectoryListBoxItem-Sketch}"/>
										<ListBoxItem Content="Network" Style="{StaticResource DirectoryListBoxItem-Sketch}"/>
									</ListBox>
								</Grid>
								<Grid x:Name="FilesSection" Grid.Column="1" >
									<ListBox x:Name="listBox" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Visible" ItemsPanel="{StaticResource WrapItemsPanel}" Style="{StaticResource ListBox-Sketch3}" Background="{x:Null}" BorderBrush="{TemplateBinding BorderBrush}" Foreground="{TemplateBinding Foreground}" >
										<local:OptionButtonWithIconMockup Content="File 1" IconPlacement="Top" IconSize="48" IconImage="Document" Background="{x:Null}" BorderBrush="{x:Null}"/>
										<local:OptionButtonWithIconMockup Content="File 2" IconPlacement="Top" IconSize="48" IconImage="Document" Background="{x:Null}" BorderBrush="{x:Null}"/>
										<local:OptionButtonWithIconMockup Content="File 3" IconPlacement="Top" IconSize="48" IconImage="Document" Background="{x:Null}" BorderBrush="{x:Null}"/>
										<local:OptionButtonWithIconMockup Content="File 4" IconPlacement="Top" IconSize="48" IconImage="Document" Background="{x:Null}" BorderBrush="{x:Null}"/>
										<local:OptionButtonWithIconMockup Content="File 5" IconPlacement="Top" IconSize="48" IconImage="Document" Background="{x:Null}" BorderBrush="{x:Null}"/>
										<local:OptionButtonWithIconMockup Content="File 6" IconPlacement="Top" IconSize="48" IconImage="Document" Background="{x:Null}" BorderBrush="{x:Null}"/>
										<local:OptionButtonWithIconMockup Content="File 7" IconPlacement="Top" IconSize="48" IconImage="Document" Background="{x:Null}" BorderBrush="{x:Null}"/>
										<local:OptionButtonWithIconMockup Content="File 8" IconPlacement="Top" IconSize="48" IconImage="Document" Background="{x:Null}" BorderBrush="{x:Null}"/>
										<local:OptionButtonWithIconMockup Content="File 9" IconPlacement="Top" IconSize="48" IconImage="Document" Background="{x:Null}" BorderBrush="{x:Null}"/>
										<local:OptionButtonWithIconMockup Content="File 10" IconPlacement="Top" IconSize="48" IconImage="Document" Background="{x:Null}" BorderBrush="{x:Null}"/>

									</ListBox>
								</Grid>
								<controls:GridSplitter HorizontalAlignment="Right" Width="2" Background="{StaticResource ButtonsSectionBackground-Mockup}"/>
							</Grid>
						</local:WindowMockup>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style  TargetType="local:WebBrowserMockup">
		<Setter Property="Background" Value="{DynamicResource  BaseBackground-Sketch}"/>
		<Setter Property="BorderBrush" Value="{DynamicResource  BaseBorder-Sketch}"/>
		<Setter Property="Foreground" Value="{DynamicResource  BaseForeground-Sketch}"/>
		<Setter Property="FontFamily" Value="{DynamicResource  FontFamily-Sketch}"/>
		<Setter Property="FontSize" Value="{DynamicResource  SizeDouble-Sketch}"/>
		<Setter Property="FontWeight" Value="{DynamicResource  FontWeight-Sketch}"/>
		<Setter Property="WindowBorderFillBrush" Value="{StaticResource WindowBackground-Mockup}"/>
		<Setter Property="ShowPathControls" Value="Visible"/>
		<Setter Property="Padding" Value="{StaticResource MarginSmallALL}"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="local:WebBrowserMockup">
					<Grid x:Name="LayoutRoot" d:DesignWidth="500" d:DesignHeight="400" >
                        <local:WindowMockup ShowPathControls="Visible" TitleContent="{TemplateBinding TitleContent}" ShowMenuBar="{TemplateBinding ShowMenuBar}" WindowBorderFillBrush="{TemplateBinding WindowBorderFillBrush}" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" Foreground="{TemplateBinding Foreground}" Content="{TemplateBinding Content}" ShowCloseButton="{TemplateBinding ShowCloseButton}" ShowFullScreenButton="{TemplateBinding ShowFullScreenButton}" ShowMaximizeButton="{TemplateBinding ShowMaximizeButton}" ShowMinimizeButton="{TemplateBinding ShowMinimizeButton}">
							<local:WindowMockup.MenuBarContent>
								<Grid>
								</Grid>
							</local:WindowMockup.MenuBarContent>
							<local:WindowMockup.StatusContent>
								<Grid x:Name="DetailsSection" Visibility="{TemplateBinding ShowStatusBar}">
									<Grid.ColumnDefinitions>
										<ColumnDefinition Width="Auto"/>
										<ColumnDefinition/>
									</Grid.ColumnDefinitions>
									<local:IconMockup Width="16" Height="16" Margin="5,0,0,0" IconImage="Locked"/>
									<Grid Grid.Column="1">
										<ContentPresenter Content="{TemplateBinding StatusContent}"/>
									</Grid>
								</Grid>
							</local:WindowMockup.StatusContent>
							<local:WindowMockup.NavBarContent>
								<Grid x:Name="NavigationControls" Visibility="{TemplateBinding ShowPathControls}">
									<Grid.ColumnDefinitions>
										<ColumnDefinition Width="Auto"/>
										<ColumnDefinition Width="Auto"/>
										<ColumnDefinition/>
										<ColumnDefinition Width="Auto"/>
										<ColumnDefinition Width="150"/>
									</Grid.ColumnDefinitions>
									<StackPanel x:Name="ForwardBackButtons" Orientation="Horizontal" Margin="{TemplateBinding Padding}">
										<local:ButtonWithIconMockup Content="" IconImage="ArrowLeft" Margin="0,0,-2,0" Background="{x:Null}" BorderBrush="{x:Null}" IconPlacement="Fill"/>
										<local:ButtonWithIconMockup Content="" IconImage="ArrowRight" Background="{x:Null}" BorderBrush="{x:Null}" IconPlacement="Fill"/>
									</StackPanel>
									<Grid x:Name="PathSection" Grid.Column="2" Margin="{TemplateBinding Padding}" VerticalAlignment="Center">
										<Grid.ColumnDefinitions>
											<ColumnDefinition Width="Auto"/>
											<ColumnDefinition/>
											<ColumnDefinition Width="Auto"/>
										</Grid.ColumnDefinitions>
										<local:ButtonWithIconMockup Content="" IconImage="Home" Background="{x:Null}" BorderBrush="{x:Null}" IconSize="20" IconPlacement="Fill" />
										<ps:SketchRectangleUC Style="{DynamicResource  Rectangle-Sketch}" Grid.Column="1"/>
										<ContentPresenter Content="{TemplateBinding NavBarContent}" HorizontalAlignment="Left" VerticalAlignment="Center" Grid.Column="1"/>
										<local:ButtonWithIconMockup Content=""  Grid.Column="2" IconPlacement="Fill" IconImage="Refresh" Background="{x:Null}" BorderBrush="{x:Null}"/>
									</Grid>
									<Grid x:Name="SearchSection" Grid.Column="4" Margin="{TemplateBinding Padding}" VerticalAlignment="Center">
										<Grid.ColumnDefinitions>
											<ColumnDefinition/>
											<ColumnDefinition Width="Auto"/>
										</Grid.ColumnDefinitions>
										<ps:SketchRectangleUC Style="{DynamicResource  Rectangle-Sketch}" Grid.ColumnSpan="1" Padding="6,2,2,2"/>
										<TextBlock Text="Search..." Grid.ColumnSpan="1" Padding="6,2,2,2"/>
										<local:ButtonWithIconMockup Content=""  Grid.Column="1" IconImage="Zoom" Padding="2" Background="{x:Null}" BorderBrush="{x:Null}" IconPlacement="Fill" />
									</Grid>
								</Grid>
							</local:WindowMockup.NavBarContent>
						</local:WindowMockup>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
		<Setter Property="ShowMenuBar" Value="Collapsed"/>
	</Style>
</ResourceDictionary>
